nvme-pci: remove cq check after submission
authorJens Axboe <axboe@kernel.dk>
Thu, 17 May 2018 16:31:48 +0000 (18:31 +0200)
committerKeith Busch <keith.busch@intel.com>
Fri, 18 May 2018 20:41:35 +0000 (14:41 -0600)
commitf9dde187fa921c12a8680089a77595b866e65455
treea40e74d40bacb150655d70035c490123fb94d1b9
parent750dde4472e48eadf28221b7eb02d493db1bcfd0
nvme-pci: remove cq check after submission

We always check the completion queue after submitting, but in my testing
this isn't a win even on DRAM/xpoint devices. In some cases it's
actually worse. Kill it.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
Signed-off-by: Keith Busch <keith.busch@intel.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
drivers/nvme/host/pci.c