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)
commit82b4552b91c40626a90a20291aab1137c638b512
treeed320991aebd70c63bb7f64ba9c285031a83d361
parent21f033f7c72e9505c46c6555b019b907dc39dfcd
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