Skip to content

NVMe: Initialization error handling fixups

Keith Busch linux-nvme 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3NVMe: Fix device cleanup on initialization failuredrivers/block/nvme-core.c+16 -20 replies
2/3NVMe: Don't use fake status on cancelled commanddrivers/block/nvme-core.c+4 -11 reply
2/3NVMe: Don't use fake status on cancelled command+0 -08 replies
3/3NVMe: Unify controller probe and resumedrivers/block/nvme-core.c+29 -230 replies

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] NVMe: Initialization error handling fixups

The asynchronous device probe created some interesting deadlocks and accessing unallocated resources if the device failed during probe. This series checks for resources allocated and owned by the driver for proper cleanup, returns the expected errors on driver aborted commands, and fixes the deadlocks between the probe and reset workers.

Keith Busch (3):
NVMe: Fix device cleanup on initialization failure
NVMe: Don't return fake status on cancelled
NVMe: Unify controller probe and resume

 drivers/block/nvme-core.c |   75 +++++++++++++++++++++++++++++----------------
 1 file changed, 49 insertions(+), 26 deletions(-)
Signature · 1 line
1.7.10.4