nvme: simplify completion handling
authorChristoph Hellwig <hch@lst.de>
Thu, 26 Nov 2015 11:59:50 +0000 (12:59 +0100)
committerJens Axboe <axboe@fb.com>
Tue, 22 Dec 2015 16:38:34 +0000 (09:38 -0700)
commitaae239e1910ebc27ec9f7e8b25904a69626cf28c
tree1b025d25e50d6cf0d500dea47e1effd03559ac00
parentadf68f21c15572c68d9fadae618a09cf324b9814
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>
drivers/nvme/host/pci.c
This page took 0.025611 seconds and 5 git commands to generate.