NVMe: Call nvme_process_cq from submission path
authorMatthew Wilcox <matthew.r.wilcox@intel.com>
Mon, 24 Jun 2013 16:03:57 +0000 (12:03 -0400)
committerMatthew Wilcox <matthew.r.wilcox@intel.com>
Mon, 24 Jun 2013 17:57:27 +0000 (13:57 -0400)
Since we have the queue locked, it makes sense to check if there are
any completion queue entries on the queue before we release the lock.
If there are, it may save an interrupt and reduce latency for the I/Os
that happened to complete.  This happens fairly often for some workloads.

Signed-off-by: Matthew Wilcox <matthew.r.wilcox@intel.com>

No differences found