Skip to content

nvme timeout updates

Keith Busch linux-nvme 4 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest4 patches 0 repliesNew
  2. v39 patches 0 repliesSuperseded
  3. v28 patches 0 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v16 patches19 repliesSuperseded

Patches in v4 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4nvme: Sync request queues on resetdrivers/nvme/host/core.c drivers/nvme/host/nvme.h drivers/nvme/host/pci.c+21 -212 replies
2/4nvme: Start controller in own work queuedrivers/nvme/host/core.c drivers/nvme/host/nvme.h+12 -12 replies
3/4nvme: Introduce frozen controller statedrivers/nvme/host/core.c drivers/nvme/host/nvme.h+21 -115 replies
4/4nvme-pci: Use controller start work to dispath IOdrivers/nvme/host/pci.c+5 -140 replies

Reviews trailers per patch

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

Read the v4 thread

Cover letter [PATCHv4 0/4] nvme timeout updates

The majority of the v3 was either merged or no longer necessary.

Patch 1 is still the same as before.

The remaining patches 2-4 are setting up the nvme core to handle unfreezing queues and dispatching IO from a context that is safe to handle IO timeouts. The pci nvme is the only one making use of that at the momement, but I suspect fabrics can make something of it.

The patch retrying a failed reset on an admin init timeout has been dropped. If we really need to do this, I think more discussion will help so we are creating less arbitrary rules.

Keith Busch (4):
nvme: Sync request queues on reset
nvme: Start controller in own work queue
nvme: Introduce frozen controller state
nvme-pci: Use controller start work to dispath IO

 drivers/nvme/host/core.c | 54 ++++++++++++++++++++++++++++++++++++++++++++----
 drivers/nvme/host/nvme.h |  3 +++
 drivers/nvme/host/pci.c  | 20 ++++++------------
 3 files changed, 59 insertions(+), 18 deletions(-)
Signature · 1 line
2.14.3