nvme-pci: remove cq check after submission
authorJens Axboe <axboe@kernel.dk>
Thu, 17 May 2018 16:31:48 +0000 (18:31 +0200)
committerJens Axboe <axboe@kernel.dk>
Fri, 18 May 2018 14:37:26 +0000 (08:37 -0600)
commit4be89867d081dbffc01974cb8e785ae589c391a7
treee90b846d56866183d302c2af991f94af978d36a0
parentab3f8032c3c7fa5039a61b1acd767d828e3b554a
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