NVMe hot plug stuff
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest5 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | NVMe: Add controller removing statedrivers/ | +4 | 2 replies | |
| 2/5 | NVMe: Fix namespace removal deadlockdrivers/ drivers/ | +13 | 4 replies | |
| 2/5 | NVMe: Fix namespace removal deadlock | +0 | 0 replies | |
| 3/5 | NVMe: Simplify device reset failuredrivers/ | +21 | 0 replies | |
| 4/5 | NVMe: Move error handling to failed reset handlerdrivers/ drivers/ drivers/ | +44 | 2 replies | |
| 4/5 | NVMe: Move error handling to failed reset handlerdrivers/ | +6 | 0 replies | |
| 5/5 | NVMe: Don't unmap controller registers on resetdrivers/ | +42 | 2 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH-4.5-v3 0/5] NVMe hot plug stuff
This is based of the current linux-block/for-linus branch.
Only 4/5 is the same as from v2, and have retained the reviews. The rest are new or different.
v2->v3:
Used a different approach to the namespace removal deadlock by reducing the scope of the namespace mutex so removal doesn't hold it during IO. This has a dependency on the first patch to ensure a scan doesn't somehow trigger (however unlikely) during removal.
Squashed v2's follow up fix for checking namespace state in nvme's queue_rq.
The final patch doesn't unmap controller registers until removal. This makes it safe to run startup and shutdown concurrently. We could possibly later micro optimize the IO path since the queue doorbell is always mapped. The patch was tested with suspend/resume using rtcwake.
Keith Busch (5):
NVMe: Add controller removing state
NVMe: Fix namespace removal deadlock
NVMe: Simplify device reset failure
NVMe: Move error handling to failed reset handler
NVMe: Don't unmap controller registers on reset
drivers/nvme/host/core.c | 62 +++++++++++++++-------- drivers/nvme/host/nvme.h | 6 +++ drivers/nvme/host/pci.c | 125 ++++++++++++++++++++++++++--------------------- 3 files changed, 118 insertions(+), 75 deletions(-)
Signature · 1 line
2.6.2.307.g37023ba