Skip to content

nvme: ANATT handling

Hannes Reinecke linux-nvme 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4nvmet: make ANATT configurabledrivers/nvme/target/admin-cmd.c drivers/nvme/target/configfs.c drivers/nvme/target/nvmet.h+37 -12 replies
1/4nvmet: make ANATT configurable+0 -00 replies
2/4nvmet: ANA transition timeout handlingdrivers/nvme/target/configfs.c drivers/nvme/target/core.c drivers/nvme/target/nvmet.h+94 -12 replies
2/4nvmet: ANA transition timeout handling+0 -01 reply
3/4nvme: ANA transition timeout handlingdrivers/nvme/host/core.c drivers/nvme/host/multipath.c drivers/nvme/host/nvme.h+37 -63 replies
3/4nvme: ANA transition timeout handling+0 -01 reply
4/4nvme: start ANATT timer on out-of-order state changesdrivers/nvme/host/multipath.c+29 -72 replies
4/4nvme: start ANATT timer on out-of-order state changes+0 -01 reply
4/4nvme: start ANATT timer on out-of-order state changes+0 -01 reply
4/4nvme: start ANATT timer on out-of-order state changes+0 -02 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/4] nvme: ANATT handling

Hi all,

this patchset implements ANA transition timeout handling for NVMe-oF. On the target side it implements a delayed workqueue for updating the ANA state, and on the host side a simple timer is started when either a namespace is found to be in ANA state change state or if an I/O command is returned with a status indicating a non-matching ANA state. If the timer expires the controller is reset.

Patches are relative to hchs block.git nvme-ana branch.

As usual, comments and reviews are welcome.

Hannes Reinecke (4):
nvmet: make ANATT configurable
nvmet: ANA transition timeout handling
nvme: ANA transition timeout handling
nvme: start ANATT timer on out-of-order state changes

 drivers/nvme/host/core.c        |  3 ++
 drivers/nvme/host/multipath.c   | 62 +++++++++++++++++++++++++++-----
 drivers/nvme/host/nvme.h        |  6 ++++
 drivers/nvme/target/admin-cmd.c |  2 +-
 drivers/nvme/target/configfs.c  | 39 ++++++++++++++++++++-
 drivers/nvme/target/core.c      | 78 +++++++++++++++++++++++++++++++++++++++++
 drivers/nvme/target/nvmet.h     | 14 ++++++++
 7 files changed, 193 insertions(+), 11 deletions(-)
Signature · 1 line
2.12.3