Forum | Documentation | Website | Blog

Skip to content
Snippets Groups Projects
Commit aed3ea94 authored by Jens Axboe's avatar Jens Axboe
Browse files

block: wake up waiters when a queue is marked dying


If it's dying, we can't expect new request to complete and come
in an wake up other tasks waiting for requests. So after we
have marked it as dying, wake up everybody currently waiting
for a request. Once they wake, they will retry their allocation
and fail appropriately due to the state of the queue.

Tested-by: default avatarKeith Busch <keith.busch@intel.com>
Signed-off-by: default avatarJens Axboe <axboe@fb.com>
parent 2b25d981
Branches
Tags
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