Skip to content

Namespace iteration fixes

Keith Busch linux-nvme 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 of 3 patches 0 repliesNew

2 of 3 patches are in this archive. The cover letter announces 3.

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
2/3nvme: Kill detached namespaces prior to removaldrivers/nvme/host/core.c+24 -141 reply
3/3nvme: Put invalid namespaces on removal listdrivers/nvme/host/core.c+10 -21 reply

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH 0/3] Namespace iteration fixes

Just correcting Sagi's email in the CC. I copy/pasted from a review in an different message(*), but was missing some letters there too. :)

* https://lkml.org/lkml/2016/6/23/529

Quoted 24 lines · Keith Busch

Patch 1/3 cleanly applies to linux-block/for-linus and for-next. The other two only apply to for-next.

The first fixes a bug introduced in 4.7 and hoping this can be applied to 4.7. It's version 2 of this patch. The reset of the series is targeted to 4.8.

The second patch fixes issues where buffered writers block removal from proceeding.

The third locks the namespace mutex when searching for invalid namespaces. While it doesn't appear necessary in the existing paths that use it, it makes this function safe for potential future use.

Keith Busch (3):
nvme: Remove RCU namespace protection
nvme: Kill detached namespaces prior to removal
nvme: Put invalid namespaces on removal list

 drivers/nvme/host/core.c | 112 ++++++++++++++++++++++++++++-------------------
 1 file changed, 67 insertions(+), 45 deletions(-)
Signature · 1 line
2.7.2