NVMe: Do not set IO queue depth beyond device max
authorKeith Busch <keith.busch@intel.com>
Fri, 27 Jul 2012 17:57:23 +0000 (13:57 -0400)
committerMatthew Wilcox <matthew.r.wilcox@intel.com>
Fri, 27 Jul 2012 17:57:23 +0000 (13:57 -0400)
Set the depth for IO queues to the device's maximum supported queue
entries if the requested depth exceeds the device's capabilities.

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

No differences found