Matthew Wilcox 9ecdc94621 NVMe: Simplify queue lookup
Fill in all the num_possible_cpus() entries with duplicate pointers.
This reduces the complexity of the frequently-called get_nvmeq(), as
well as avoiding a bug in it when there are fewer queues than CPUs.

Reported-by: Shane Michael Matthews <shane.matthews@intel.com>
Signed-off-by: Matthew Wilcox <matthew.r.wilcox@intel.com>
2011-11-04 15:53:01 -04:00
..
2011-05-26 21:06:50 +02:00
2011-07-26 16:49:47 -07:00
2011-05-06 08:27:00 -06:00
2011-03-10 08:52:07 +01:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2011-11-04 15:52:51 -04:00
2011-11-04 15:52:51 -04:00
2011-11-04 15:53:01 -04:00
2009-03-26 21:15:27 +01:00
2011-03-31 11:26:23 -03:00
2008-10-21 07:48:11 -04:00