]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit82ca10729e3d5ae540adea25a45bf25a4ed36335
tree7f54bd0fca7d8c22d7eb02eab791645f00357ff5
parentf5ac9b3764fd96515016bf0925343c30b3d30351
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