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>
Thu, 8 Jan 2015 15:59:53 +0000 (08:59 -0700)
commiteb130dbfc40eabcd4e10797310bda6b9f6dd7e76
tree7f54bd0fca7d8c22d7eb02eab791645f00357ff5
parent5b3f25fc343690cafd3e27431a69a7bdaf9df001
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