]> 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)
commit68743036d3c3e957ff8c7b601cf185484871ec4f
tree82a18a51d2bd642265a0bc9a01490f7dab31a3a9
parent6768252df574fadab0683cff2c6eb5dd19b6a744
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