]> git.baikalelectronics.ru Git - kernel.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)
commitcb462364791a693b8217964889a54dbed892bbf6
tree27ff7ee0f1971cea41c38a7c3d265a3f4a106263
parente09b4055fcfcf8d03f3f85ef9729eda4d34e1766
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