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>
Mon, 30 Mar 2015 18:54:57 +0000 (12:54 -0600)
commitf39ca43d7acb9ff2686255c1dd2e888950ec3aa5
treeb9c7e46970c250ba3bbf75561ddf1ce5c2344fe3
parent88c5ac14267119e7561e0b4132fad0cbd188a50d
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