blk-mq: End unstarted requests on a dying queue
authorKeith Busch <keith.busch@intel.com>
Thu, 8 Jan 2015 15:59:53 +0000 (08:59 -0700)
committerJens Axboe <axboe@fb.com>
Mon, 30 Mar 2015 18:54:57 +0000 (12:54 -0600)
commit0966fa18eb8f78abf223c0b2bb884960a8464a97
tree2f834667c89f91dd1dd57cb95e497064e9438efd
parenteeac43bcf19f3e5ce9a3195fa1863fb0d66b540b
blk-mq: End unstarted requests on a dying queue

Requests that haven't been started prior to a queue dying can be ended
in error without waiting for them to start and time out.

Signed-off-by: Keith Busch <keith.busch@intel.com>
Added code comment to explain why this is done.

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