Skip to content

NVMe: Controller reset handling

Keith Busch linux-nvme 3 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest posting 2/22 patches 0 repliesNew
  2. v2 posting 1/25 patches 0 repliesSuperseded
  3. v12 patches 0 repliesSuperseded

Patches in v2 posting 2/2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2NVMe: Reset failed controllerdrivers/block/nvme-core.c include/linux/nvme.h+66 -110 replies
2/2NVMe: Abort timed out commandsdrivers/block/nvme-core.c include/linux/nvme.h include/uapi/linux/nvme.h+74 -10 replies

Reviews trailers per patch

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

Read the v2 thread

Cover letter [PATCHv2 0/2] NVMe: Controller reset handling

This obsoletes this set:

http://merlin.infradead.org/pipermail/linux-nvme/2013-September/000392.html

I'm doing a lot less with this set than I previous attempts and can worry about the other optimizations if these are okay.

Differences from previous version:

Now calling pci_stop_and_remove_bus_device in line with the work task when the driver fails to reinitialize the controller instead of spawning a new thread. This just required extra care to remove the device from the dev_list the kthread loops over before queueing the work.

If the device enables but can't perform IO on a resume attempt, now removes the IO queues and namespaces, but leaves the character device up for management.

Keith Busch (2):
NVMe: Reset failed controller
NVMe: Abort timed out commands

 drivers/block/nvme-core.c |  138 +++++++++++++++++++++++++++++++++++++++++----
 include/linux/nvme.h      |    3 +
 include/uapi/linux/nvme.h |   11 ++++
 3 files changed, 140 insertions(+), 12 deletions(-)
Signature · 1 line
1.7.10.4