Skip to content

nvme: add csi, ms and nuse to sysfs

Daniel Wagner linux-nvme lkml 6 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v6 Latest6 patches 11 repliesIn review
  2. v56 patches 14 repliesSuperseded
  3. v44 patches 10 repliesSuperseded
Earlier versions · 3
VersionPostedPatchesRepliesStatus
v34 patches5 repliesSuperseded
v2 RFC3 patches8 repliesSuperseded
v1 RFC1 patch13 repliesSuperseded

Changes in v6 from the cover letter

- rebased on nvme/nvme-6.8
- collected Reviewed tags
- updated printk format

Patches in v6 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6nvme: move ns id info to struct nvme_ns_headdrivers/nvme/host/core.c drivers/nvme/host/ioctl.c drivers/nvme/host/nvme.h +2 more+69 -662 replies
2/6nvme: refactor ns info helpersdrivers/nvme/host/core.c drivers/nvme/host/nvme.h drivers/nvme/host/rdma.c +1 more+34 -281 reply
3/6nvme: refactor ns info setup functiondrivers/nvme/host/core.c drivers/nvme/host/zns.c+62 -601 reply
4/6nvme: rename ns attribute groupdrivers/nvme/host/core.c drivers/nvme/host/multipath.c drivers/nvme/host/nvme.h +1 more+10 -101 reply
5/6nvme: add csi, ms and nuse to sysfsdrivers/nvme/host/core.c drivers/nvme/host/nvme.h drivers/nvme/host/sysfs.c+96 -11 reply
6/6nvme: repack struct nvme_ns_headdrivers/nvme/host/nvme.h+4 -41 reply

Reviews trailers per patch

All 6 patches have a Reviewed-by or Acked-by.

PatchChristoph HellwigSagi GrimbergHannes Reinecke
1/6R-b R-b R-b
2/6R-b R-b R-b
3/6R-b R-b R-b
4/6R-b R-b R-b
5/6R-b R-b R-b
6/6R-b R-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v6 thread

Cover letter [PATCH v6 0/6] nvme: add csi, ms and nuse to sysfs

Rebased on the current nvme/nvme-6.8 branch and added the Review tags. Also addressed the printk format issue pointed out by Chaitanya.

About PI: I've added a note to the first commit pointing on this topic. I understood from the discussion, that yes it is an issue but it already exists and we will address this in future.

Thanks,
Daniel

libnvme changes:
https://github.com/igaw/libnvme/tree/tree-no-cmd

changes:
v6:
- rebased on nvme/nvme-6.8
- collected Reviewed tags
- updated printk format

v5:
- reverted trigger happy conversion to nvme_ns_head in nvme_zns_alloc_report_buffer
- removed debug output
- added refactoring patches
- ratelimit silence suppress messages
- added reviewed tags
- https://lore.kernel.org/linux-nvme/[email protected]/

v4:
- drop 'use nvme_ns_head instead nvme_ns' patches
- ratelimit nuse update per namespace not globally
- rename ns attribute group
- added non-multipath nuse update logic
- added cacheline optimization
- https://lore.kernel.org/linux-nvme/[email protected]/

v3:
- cut overlong lines shorter
- fixed disk (queuedata) initialization order
- more testing with blktest
- added nuse ratelimit
- added reviewed tags
- https://lore.kernel.org/linux-nvme/[email protected]/

v2:
- moved ns id data to nvme_ns_head
- dropped ds, nsze
- https://lore.kernel.org/linux-nvme/[email protected]/

v1:
- initial version
- https://lore.kernel.org/linux-nvme/[email protected]/

Daniel Wagner (6):
nvme: move ns id info to struct nvme_ns_head
nvme: refactor ns info helpers
nvme: refactor ns info setup function
nvme: rename ns attribute group
nvme: add csi, ms and nuse to sysfs
nvme: repack struct nvme_ns_head

 drivers/nvme/host/core.c      | 168 ++++++++++++++++++----------------
 drivers/nvme/host/ioctl.c     |   8 +-
 drivers/nvme/host/multipath.c |   2 +-
 drivers/nvme/host/nvme.h      |  44 +++++----
 drivers/nvme/host/rdma.c      |   4 +-
 drivers/nvme/host/sysfs.c     |  99 ++++++++++++++++++--
 drivers/nvme/host/zns.c       |  35 +++----
 7 files changed, 233 insertions(+), 127 deletions(-)
Signature · 1 line
2.43.0