]> www.infradead.org Git - users/jedix/linux-maple.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)
committerChuck Anderson <chuck.anderson@oracle.com>
Thu, 1 Jun 2017 20:41:14 +0000 (13:41 -0700)
commitf4659d42c7499ef3f0816d1b76d8fb5d3fe67832
tree48604f373bc81e93c31c1a07c27ab5807f80fc1c
parentad55e0864dee9c7e71780d1d0e9c20cb61293179
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>
(cherry picked from commit 82b4552b91c40626a90a20291aab1137c638b512)

Orabug: 25130845

Signed-off-by: Ashok Vairavan <ashok.vairavan@oracle.com>
Reviewed-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/nvme/host/pci.c