Skip to content

nvme: ANA fixups

Hannes Reinecke linux-nvme 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest10 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/10nvme: add missing kfree() in nvme_configure_ana()drivers/nvme/host/multipath.c+1 -02 replies
2/10nvme: ANA transition timeout handlingdrivers/nvme/host/core.c drivers/nvme/host/multipath.c drivers/nvme/host/nvme.h+39 -91 reply
2/10nvme: ANA transition timeout handling+0 -01 reply
3/10nvme: Only update capacity for optimized or non-optimized pathsdrivers/nvme/host/core.c drivers/nvme/host/multipath.c drivers/nvme/host/nvme.h+16 -101 reply
4/10nvme: clear current path on ANA state changedrivers/nvme/host/multipath.c+1 -02 replies
4/10nvme: clear current path on ANA state change+0 -00 replies
5/10nvme: retry nvme_get_log_ext() when processing ANA logdrivers/nvme/host/multipath.c+8 -11 reply
6/10nvme: simplify check for ANA in nvme_ns_id_attrs_are_visible()drivers/nvme/host/core.c+1 -11 reply
7/10nvmet: make ANATT configurabledrivers/nvme/target/admin-cmd.c drivers/nvme/target/configfs.c drivers/nvme/target/core.c +1 more+32 -11 reply
8/10nvmet: Set nanagrpid correctlydrivers/nvme/target/admin-cmd.c+22 -71 reply
8/10nvmet: Set nanagrpid correctly+0 -01 reply
9/10nvmet: Set mnan correctlydrivers/nvme/target/admin-cmd.c+1 -11 reply
9/10nvmet: Set mnan correctly+0 -01 reply
10/10nvmet: set 'nuse' and 'nsze' to zero for inaccessible pathsdrivers/nvme/target/admin-cmd.c+12 -01 reply

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH 00/10] nvme: ANA fixups

Hi Christoph,

here's a set of patches and updates for the ANA support, both host and target. It's mainly small issues I've found during testing.
Patches are relative to your nvme-ana branch.

As usual, comments and reviews are welcome.

Hannes Reinecke (10):
nvme: add missing kfree() in nvme_configure_ana()
nvme: ANA transition timeout handling
nvme: Only update capacity for optimized or non-optimized paths
nvme: clear current path on ANA state change
nvme: retry nvme_get_log_ext() when processing ANA log
nvme: simplify check for ANA in nvme_ns_id_attrs_are_visible()
nvmet: make ANATT configurable
nvmet: Set nanagrpid correctly
nvmet: Set mnan correctly
nvmet: set 'nuse' and 'nsze' to zero for inaccessible paths

 drivers/nvme/host/core.c        | 17 ++++++++++----
 drivers/nvme/host/multipath.c   | 51 +++++++++++++++++++++++++++++------------
 drivers/nvme/host/nvme.h        | 17 +++++++++++++-
 drivers/nvme/target/admin-cmd.c | 43 +++++++++++++++++++++++++++-------
 drivers/nvme/target/configfs.c  | 28 ++++++++++++++++++++++
 drivers/nvme/target/core.c      |  1 +
 drivers/nvme/target/nvmet.h     |  2 ++
 7 files changed, 131 insertions(+), 28 deletions(-)
Signature · 1 line
2.12.3