Namespace attachment fixes/simplifications
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | NVMe: Reference count open namespacesdrivers/ include/ | +21 | 1 reply | |
| 1/2 | NVMe: Reference count open namespaces | +0 | 1 reply | |
| 2/2 | NVMe: Simplify device resume on io queue failuredrivers/ include/ | +11 | 1 reply | |
| 2/2 | NVMe: Simplify device resume on io queue failure | +0 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/2] Namespace attachment fixes/simplifications
This started off investigating a suggestion Christoph made on the awkward way the driver removes disks if the controller can't handle IO after attempting a resume from suspend.
It turns out that it has been a LONG time since the error path from resume was tested. It definitely was broken, so this turned into a two part series. I can split 2/2 into a two more if anyone thinks changes are unrelated.
Quoted 1 line
From testing it became clear that it is not sufficient to reference count
only the controller anymore. Jens suggested a while back to reference count the namespaces, but I didn't think there was a need since namespaces couldn't be deleted while the controller had active references anyway. Now that namespaces can be deleted independent of the controller, we really do need a separate reference count.
Keith Busch (2):
NVMe: Reference count open namespaces
NVMe: Simplify device resume on io queue failure
drivers/block/nvme-core.c | 80 ++++++++++++++++++--------------------------- include/linux/nvme.h | 2 +- 2 files changed, 32 insertions(+), 50 deletions(-)
Signature · 1 line
1.7.10.4