]> git.baikalelectronics.ru Git - kernel.git/commit
NVMe: add ->exit_hctx() hook
authorJens Axboe <axboe@fb.com>
Fri, 14 Nov 2014 16:47:32 +0000 (09:47 -0700)
committerJens Axboe <axboe@fb.com>
Thu, 20 Nov 2014 18:10:03 +0000 (11:10 -0700)
commitc14de32e92b82f6600b3262f3ff7177caf8dffa3
tree490cba2c04664298b43e2e5b62a2fb428a3ca345
parentece1281bddd72e2714e99d28dd43a5145102cddc
NVMe: add ->exit_hctx() hook

If we do teardown and setup of the queue and block related parts
of the driver, then we should clear nvmeq->hctx once we kill the
hardware queue.

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