Skip to content

Resync Linux and NVMe-cli nvme.h header

Max Gurtovoy linux-nvme 2 versions – Applied

Status from this message: applied to nvme-5.12.

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 6 repliesApplied
  2. v11 patch 6 repliesSuperseded

Changes in v2 from the cover letter

- Added Reviewed-by signature for patch 1/2 (from Hannes)
- Added resync patch 2/2
- Added resync nvme-cli patch 1/1

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/2nvme: update enumerations for status codesinclude/linux/nvme.h+20 -41 reply
2/2nvme: resync header file with common nvme-cli toolinclude/linux/nvme.h+52 -145 replies

Reviews trailers per patch

1 of 2 patches has a Reviewed-by or Acked-by.

PatchHannes Reinecke
1/2R-b
2/2

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/2] Resync Linux and NVMe-cli nvme.h header

Hi Christoph/Sagi/Keith/Chaitanya,
This series introduce synchronization between the kernel include/linux/nvme.h and nvme-cli linux/nvme.h to ease on maintainance of both.
The changes for nvme-cli are in the structure of the linux/nvme.h header file that will be divided to 2 parts: nvme-cli specific code and an identical copy of the content of include/linux/nvme.h from Linux. In this way, the resync process will be ease and whole the content of include/linux/nvme.h will be pasted to that area. Individual commits to this area will be forbidden and must go through kernel part first.

The additional to Linux include/linux/nvme.h is new enumerations from NVMe 1.4 specification and the missing parts from nvme-cli that are originated in common area of the code.

The structures and enumeration that were intruduced only to nvme-cli were moved to part #1 in nvme-cli linux/nvme.h file and we can decide whether we need them in the kernel as well. This can be done in future step. Also new nvme-cli specifics that are not a must in the kernel and are not in the common code structures/enums can go there.

To test this I run some basic commands as:
- nvme list
- nvme list -v
- nvme list-subsys
- nvme connect/disconnect
- nvme id-ctrl
- nvme id-ns

changes from V1:
- Added Reviewed-by signature for patch 1/2 (from Hannes)
- Added resync patch 2/2
- Added resync nvme-cli patch 1/1

Max Gurtovoy (2):
nvme: update enumerations for status codes
nvme: resync header file with common nvme-cli tool

 include/linux/nvme.h | 90 +++++++++++++++++++++++++++++++++++---------
 1 file changed, 72 insertions(+), 18 deletions(-)
Signature · 7 lines
2.25.4


_______________________________________________
Linux-nvme mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-nvme