Skip to content
Snippets Groups Projects
Commit d9921865 authored by Bobi Jam's avatar Bobi Jam
Browse files

Branch HEAD

b=13999
i=johann
i=shadow

Don't attempt to wake up evictor thread if it hasn't started yet.
parent 9be6beef
No related branches found
No related tags found
No related merge requests found
......@@ -391,7 +391,7 @@ static spinlock_t pet_lock = SPIN_LOCK_UNLOCKED;
int ping_evictor_wake(struct obd_export *exp)
{
spin_lock(&pet_lock);
if (pet_exp) {
if (pet_exp || (pet_state != PET_READY)) {
/* eventually the new obd will call here again. */
spin_unlock(&pet_lock);
return 1;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment