]> www.infradead.org Git - users/jedix/linux-maple.git/commit
nvme: simplify completion handling
authorChristoph Hellwig <hch@lst.de>
Thu, 26 Nov 2015 11:59:50 +0000 (12:59 +0100)
committerChuck Anderson <chuck.anderson@oracle.com>
Thu, 1 Jun 2017 20:40:49 +0000 (13:40 -0700)
commit9c2b51b840354ef65be16a5aaf6e8151ed590e4c
tree91ac90d3b156f4c5381d0273cbe4e4335a98ebfc
parentc802b47e8af8577bed9872dd3e1290a4844b8ff4
nvme: simplify completion handling

Now that all commands are executed as block layer requests we can remove the
internal completion in the NVMe driver.  Note that we can simply call
blk_mq_complete_request to abort commands as the block layer will protect
against double copletions internally.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Acked-by: Keith Busch <keith.busch@intel.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
(cherry picked from commit aae239e1910ebc27ec9f7e8b25904a69626cf28c)

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