Buddy: after cancel, work waiting requests again

parent f11230a2
......@@ -1736,7 +1736,8 @@ buddy_reqs_wait_cancel(struct buddy_reqs *reqs)
VTAILQ_REMOVE(head, reqs, i_wait.list);
w->state = IW_SIGNALLED;
}
if (buddy->waiting && buddy->wait_pri == reqs->pri)
buddy_wait_work(buddy);
AZ(pthread_mutex_unlock(&reqs->buddy->map_mtx));
} else {
AZ(pthread_mutex_lock(&w->wait_mtx));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment