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)
commit3f5a91fe472b8cd332979a8981f653ac24ab6f17
tree7cfa6e9965a573d0479a68ac878512769aa2a38e
parent483fcb17559fd223d708ed6da1ec79f08f4b05fc
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