]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
NVMe: Reference count admin queue usage
authorKeith Busch <keith.busch@intel.com>
Thu, 8 Jan 2015 01:55:49 +0000 (18:55 -0700)
committerJens Axboe <axboe@fb.com>
Thu, 8 Jan 2015 16:00:32 +0000 (09:00 -0700)
commitea191d2f36b0f577ce5377c3e72aedc34282969d
tree27ff7ee0f1971cea41c38a7c3d265a3f4a106263
parentc917dfe52834979610d45022226445d1dc7c67d8
NVMe: Reference count admin queue usage

Since there is no gendisk associated with the admin queue, the driver
needs to hold a reference to it until all open references to the
controller are closed.

This also combines queue cleanup with freeing the tag set since these
should not be separate.

Signed-off-by: Keith Busch <keith.busch@intel.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
drivers/block/nvme-core.c