]> 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)
commit378d9de2118e3402d1b0f728289e59ffe6f61596
tree76b1cb6bf8b267e403f9215bdc5e32c68d861af6
parent13454649fac1a3ebfec5647f3211f1672f3017d7
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