NVMe: Separate queue alloc/free from create/delete
authorKeith Busch <keith.busch@intel.com>
Mon, 15 Jul 2013 21:02:20 +0000 (15:02 -0600)
committerMatthew Wilcox <matthew.r.wilcox@intel.com>
Tue, 3 Sep 2013 20:39:28 +0000 (16:39 -0400)
commit224042742582c9938788b81165180c876e997a07
tree0d2593b96ff6f1639d7188e9b79ea3d6c1459202
parent0877cb0d285c7f1d53d0b84b360bdea4be4f3f59
NVMe: Separate queue alloc/free from create/delete

This separates nvme queue allocation from creation, and queue deletion
from freeing. This is so that we may in the future temporarily disable
queues and reuse the same memory when bringing them back online, like
coming back from suspend state.

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