]> git.proxmox.com Git - mirror_ubuntu-artful-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)
commit0bf77e9dbb5247ae159342db6f8fdb48aba24b56
tree82a18a51d2bd642265a0bc9a01490f7dab31a3a9
parenta5b714ad395803a6aa91793b9e52a81b176b8ba9
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