]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit1130658dedbff0935132bd7bbe911db1bec98dcc
treefcba1402f98bffa6a38f2a00d104e43e865804c8
parent9449a46c87a8e3e63f454cc9a982562e40b84c50
NVMe: Call nvme_process_cq from submission path

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>
drivers/block/nvme-core.c