]> www.infradead.org Git - users/jedix/linux-maple.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)
committerChuck Anderson <chuck.anderson@oracle.com>
Thu, 1 Jun 2017 20:41:22 +0000 (13:41 -0700)
commite6746631d564ba8a5a7a5db758402192d320e233
tree0d64e240d0f3184b6992c2fe3673f4c848539246
parent0c0bf31ca126ddd1d40345d4ce4a7ed15d359ed2
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>
(cherry picked from commit 32f0c4afb4363e31dad49202f1554ba591d649f2)

Orabug: 25130845

Signed-off-by: Ashok Vairavan <ashok.vairavan@oracle.com>
Reviewed-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/nvme/host/core.c