Skip to content

nvme_ns_remove() deadlock fix

Ming Lin linux-nvme 2 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 0 repliesNew
  2. v11 patch 0 repliesSuperseded

Changes in v2 from the cover letter

- switch to RCU freeing the namespace

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2nvme: switch to RCU freeing the namespacedrivers/nvme/host/core.c+11 -102 replies
1/2nvme: switch to RCU freeing the namespace+0 -00 replies
1/2nvme: switch to RCU freeing the namespace+0 -03 replies
1/2nvme: switch to RCU freeing the namespacedrivers/nvme/host/core.c drivers/nvme/host/pci.c+9 -21 reply
1/2nvme: switch to RCU freeing the namespace+0 -01 reply
1/2nvme: switch to RCU freeing the namespacedrivers/nvme/host/core.c drivers/nvme/host/nvme.h drivers/nvme/host/pci.c+0 -04 replies
1/2nvme: switch to RCU freeing the namespace+0 -00 replies
2/2nvme: fix nvme_ns_remove() deadlockdrivers/nvme/host/core.c+4 -22 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH v2 0/2] nvme_ns_remove() deadlock fix

From: Ming Lin <[email protected]>

Hi Sunad,

I don't have device that can do namespace attribute change. Could you help to verify these 2 patches fix the ns remove deadlock?

Thanks.

v2:
- switch to RCU freeing the namespace

Ming Lin (2):
nvme: switch to RCU freeing the namespace
nvme: fix nvme_ns_remove() deadlock

 drivers/nvme/host/core.c | 27 +++++++++++++++------------
 1 file changed, 15 insertions(+), 12 deletions(-)
Signature · 1 line
1.9.1