]> git.baikalelectronics.ru Git - kernel.git/commit
nvme: switch to RCU freeing the namespace
authorMing Lin <ming.l@ssi.samsung.com>
Mon, 25 Apr 2016 21:20:18 +0000 (14:20 -0700)
committerJens Axboe <axboe@fb.com>
Mon, 2 May 2016 15:16:11 +0000 (09:16 -0600)
commitf85c2c96f5c4e0734703d751b9e89b5991399cc2
tree82a18a51d2bd642265a0bc9a01490f7dab31a3a9
parent2c99135a198a7cc763193031460bc4626c211a7b
nvme: switch to RCU freeing the namespace

Switch to RCU freeing the namespace structure so that
nvme_start_queues, nvme_stop_queues and nvme_kill_queues would
be able to get away with only a RCU read side critical section.

Suggested-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Ming Lin <ming.l@ssi.samsung.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Keith Busch <keith.busch@intel.com>
Reviewed-by: Sagi Grimerg <sagi@grimberg.me>
Signed-off-by: Jens Axboe <axboe@fb.com>
drivers/nvme/host/core.c