blk-mq: Wake tasks entering queue on dying
authorKeith Busch <keith.busch@intel.com>
Thu, 8 Jan 2015 15:53:56 +0000 (08:53 -0700)
committerJens Axboe <axboe@fb.com>
Thu, 8 Jan 2015 15:53:56 +0000 (08:53 -0700)
commit3fd5940cb2e47a61dcff4108f39be4c72cb4dace
tree7cfa6e9965a573d0479a68ac878512769aa2a38e
parent17ded320706c6316376059cfbe9dccab32c62b42
blk-mq: Wake tasks entering queue on dying

When the queue is set to dying, wake up tasks that are waiting on frozen
queue so they realize it is dying and abandon their request.

Signed-off-by: Keith Busch <keith.busch@intel.com>
Modified by me to add a code comment on the need for the wakeup.

Signed-off-by: Jens Axboe <axboe@fb.com>
block/blk-mq.c