NVMe: Reduce maximum queue depth by 1
authorMatthew Wilcox <matthew.r.wilcox@intel.com>
Thu, 24 Feb 2011 13:49:41 +0000 (08:49 -0500)
committerMatthew Wilcox <matthew.r.wilcox@intel.com>
Fri, 4 Nov 2011 19:52:59 +0000 (15:52 -0400)
commite6d15f79f997a98b3a69abbc462fc9041cc1a7b4
treee450940cfa69aaf06ddf00db6a47def3f209236c
parentd8ee9d69f275769aaad40ef7c944565ff8d2d24f
NVMe: Reduce maximum queue depth by 1

The spec says we're not allowed to completely fill the submission queue.
Solve this by reducing the number of allocatable cmdids by 1.

Signed-off-by: Matthew Wilcox <matthew.r.wilcox@intel.com>
drivers/block/nvme.c