nvmet: address controller teardown issues
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 | nvmet: fix ctlr ref countingdrivers/ drivers/ drivers/ | +16 | 2 replies | |
| 2/2 | nvmet: Fix fatal_err_work deadlockdrivers/ drivers/ | +19 | 4 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/2] nvmet: address controller teardown issues
Controller deletes were showing a nasty stack trace with flush_work hanging. Looking at the issue, it became clear the ref counting for nvmet was allowing the controller to be freed too early causing use after free errors.
First patch addresses ctrl ref counting
second patch addresses flush_work hang
James Smart (2):
nvmet: fix ctlr ref counting
nvmet: Fix fatal_err_work deadlock
drivers/nvme/target/core.c | 42 +++++++++++++++++++++++++++++---------- drivers/nvme/target/fabrics-cmd.c | 1 + drivers/nvme/target/nvmet.h | 2 ++ 3 files changed, 35 insertions(+), 10 deletions(-)
Signature · 1 line
2.13.1