]> git.baikalelectronics.ru Git - kernel.git/commit
nvme: Use blk-mq helper for IO termination
authorSagi Grimberg <sagig@mellanox.com>
Tue, 12 Apr 2016 21:07:15 +0000 (15:07 -0600)
committerJens Axboe <axboe@fb.com>
Tue, 12 Apr 2016 21:07:15 +0000 (15:07 -0600)
commita7c7acd39482e1fd3d58ca08f9636e6fb4f73110
treeed320991aebd70c63bb7f64ba9c285031a83d361
parentc6a8a765e305df579b04cd0bcff22a8023bc6e5e
nvme: Use blk-mq helper for IO termination

blk-mq offers a tagset iterator so let's use that
instead of using nvme_clear_queues.

Note, we changed nvme_queue_cancel_ios name to nvme_cancel_io
as there is no concept of a queue now in this function (we
also lost the print).

Signed-off-by: Sagi Grimberg <sagig@mellanox.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Acked-by: Keith Busch <keith.busch@intel.com>
Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de>
Signed-off-by: Jens Axboe <axboe@fb.com>
drivers/nvme/host/pci.c