Searched hist:aed3ea94bdd2ac0a21ed0103d34097e202ee77f6 (Results 1 – 4 of 4) sorted by relevance
/openbmc/linux/block/ |
H A D | blk-mq-tag.c | diff aed3ea94bdd2ac0a21ed0103d34097e202ee77f6 Mon Dec 22 15:04:42 CST 2014 Jens Axboe <axboe@fb.com> 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: Keith Busch <keith.busch@intel.com> Signed-off-by: Jens Axboe <axboe@fb.com>
|
H A D | blk-mq.h | diff aed3ea94bdd2ac0a21ed0103d34097e202ee77f6 Mon Dec 22 15:04:42 CST 2014 Jens Axboe <axboe@fb.com> 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: Keith Busch <keith.busch@intel.com> Signed-off-by: Jens Axboe <axboe@fb.com>
|
H A D | blk-core.c | diff aed3ea94bdd2ac0a21ed0103d34097e202ee77f6 Mon Dec 22 15:04:42 CST 2014 Jens Axboe <axboe@fb.com> 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: Keith Busch <keith.busch@intel.com> Signed-off-by: Jens Axboe <axboe@fb.com>
|
H A D | blk-mq.c | diff aed3ea94bdd2ac0a21ed0103d34097e202ee77f6 Mon Dec 22 15:04:42 CST 2014 Jens Axboe <axboe@fb.com> 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: Keith Busch <keith.busch@intel.com> Signed-off-by: Jens Axboe <axboe@fb.com>
|