summaryrefslogtreecommitdiffstats
path: root/drivers/nvme/host/fabrics.h
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2019-05-17 11:47:36 +0200
committerKeith Busch <keith.busch@intel.com>2019-05-17 11:07:11 -0600
commit5fb4aac756acacf260b9ebd88747251effa3a2f2 (patch)
treed13d9c345611a678d7707bed27dddb39e4f92f9e /drivers/nvme/host/fabrics.h
parent90ec611adcf20b96d0c2b7166497d53e4301a57f (diff)
nvme: release namespace SRCU protection before performing controller ioctls
Holding the SRCU critical section protecting the namespace list can cause deadlocks when using the per-namespace admin passthrough ioctl to delete as namespace. Release it earlier when performing per-controller ioctls to avoid that. Reported-by: Kenneth Heitke <kenneth.heitke@intel.com> Reviewed-by: Chaitanya Kulkarni <chaitanya.kulkarni@wdc.com> Reviewed-by: Keith Busch <keith.busch@intel.com> Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'drivers/nvme/host/fabrics.h')
0 files changed, 0 insertions, 0 deletions