]> git.baikalelectronics.ru Git - kernel.git/commit
NVMe: Command abort handling fixes
authorKeith Busch <keith.busch@intel.com>
Thu, 8 Jan 2015 01:55:51 +0000 (18:55 -0700)
committerJens Axboe <axboe@fb.com>
Thu, 8 Jan 2015 16:02:18 +0000 (09:02 -0700)
commit8f192ba860b0f6d9aa26ecaffd57c67b97574fcf
tree76b1cb6bf8b267e403f9215bdc5e32c68d861af6
parent936fea9e1088f681cb3586715131e5040a33779b
NVMe: Command abort handling fixes

Aborts all requeued commands prior to killing the request_queue. For
commands that time out on a dying request queue, set the "Do Not Retry"
bit on the command status so the command cannot be requeued. Finanally, if
the driver is requested to abort a command it did not start, do nothing.

Signed-off-by: Keith Busch <keith.busch@intel.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
drivers/block/nvme-core.c