Skip to content

Tags: shampoo365/nvme-cli

Tags

v1.13

Toggle v1.13's commit message
tag new release

Tagging new release. The most significant changes are the new Zoned
Namespace support from the recently ratified NVMe TP, but also includes
vendor specific updates, various improvements, and spec feature
enhancements. Thank you to all the contributors for this round. Shortlog
follows:

Adam Judge (1):
      Prevent compiler from optimizing mmio_read64 to single 64b read

Aleksei Marov (1):
      Allow 0 value of ctrl_loss_tmo.

Aravind Ramesh (2):
      nvme zns: segmentation fault in cmd "nvme zns zone-mgmt-send"
      nvme zns: close device fd in id_ctrl() func

Brandon (1):
      Added DITT explanation and cleaned up spacing

Brandon Paupore (17):
      Added temperature information getting and text formatting
      Implemented additional statistics to display
      Corrected the output of TMT1 and 2
      Added device support check for temp stats command
      Added documentation for temperature stats function
      Added missing semicolon
      Added support for device 0x5006 to clear-pcie-correctable-error
      Fixed some spacing
      Reformatted text output to match other plugins
      Added global namespace and device id display
      Initial coding for new command 'capabilities', also create PCIE_CLEAR_MASK
      Spacing fix
      Finished implementing capabilities checks
      Added documentation for capabilities command
      Update capabilities command for some alternate command versions
      Corrected vs-internal-log support status for some devices
      Update supported devices in man page

Casey Tucker (1):
      id-ctrl vs for Amazon Elastic Block Store

Darrin Smart (1):
      Add missing dependencies on systemd & systemd-udev

Enzo Matsumiya (1):
      doc: add 'tcp' as transport type option

Hans Holmberg (1):
      Add warning if not all zone changed list entries are retrieved.

Hanumanthu H (2):
      Micron plugin and documentation updates
      Micron plugin and documentation updates

Jeff Lien (16):
      DRV-1050 Update SN730 to support DUI data header version 4   Added version 4 structs and version checking logic
      [NVME CLI] WDC Plugin Command Updates Add support for using uuid index when retrieving the 0xC2 Log Page Add support for parsing the 0xC0 log page
      [NVMe-CLI] WDC Plugin update documentation for vs-smart-add-log command
      Add support for ZN345 drive.
      Fix spacing issue.
      [NVMe-CLI] Add support for clear-pcie-correctable-error in wdc plugins   for SN345
      [NVMe-CLI] Add support for vs-fw-activate-history and clear-fw-activate-history       in wdc plugins for SN345
      [nvme-cli] Add log page mask parameter to vs-smart-add-log wdc plugin command.
      [nvme-cli] Updated documentation files for vs-smart-add-log wdc plugin command
      [nvme-cli] WDC plugin name change ZN345 to ZN355   Add drive info capability to ZN355
      [nvme-cli] Fix vs-fw-activate-history for 0xC2 log page
      [nvme-cli] fix spacing issues in wdc vs-fw-activate-history
      [nvme-cli] Add support for enclosures to WDC plugin commands
      [nvme-cli] Documentation files for new wdc plugin enclosure command
      [nvme-cli] Fix comments and spacing with enclosure changes
      [nvme-cli] Update enclosure changes based on review comments.

Jian Ding (1):
      Add support for DUI data header version 4.

Keith Busch (19):
      support for zoned command set
      add zns documentation
      fix zns csn identify values
      fix print for zns id ns
      zns id-ns json output
      report all zones if no user override
      add missing manpage to repo
      fix manpage name
      Merge branch 'MatiasBjorling-prettifyzns'
      fix 32-bit build
      fix compile errors from recent pr
      start continuous integration
      iocs fixes
      Merge branch 'master' of https://github.com/linux-nvme/nvme-cli
      use normal alloc for fw download
      fix 64-bit print formats
      fix cross compile print formats
      regen documentation
      tag new release

Klaus Jensen (12):
      ioctl: fix missing addrof
      add fields and types for zoned namespaces
      Add zoned namespaces identify human readable print
      Add exception for zone management send command
      add fields and types for zoned namespaces
      Add zoned namespaces identify human readable print
      Add exception for zone management send command
      nvme-print: streamline show-regs output
      nvme-print: zns mar/mor fields are 32 bits
      add support for issuing simple copy commands
      {get,set}_feature: get nsid from device node
      fix '< 0' comparisons of unsigned expressions

Matias Bjorling (1):
      Improve output readability of the zns id-ns command

Matias Bjørling (8):
      Add really pretty print for ZNS Command Set specific Identify Namespace data structure
      Various cleanups in the ZNS plugin
      Capitalize LBA in descriptions within the ZNS plugin
      Remove lx text from reporting
      Align print of zns id_ns with nvm id_ns
      Add support for printing vs area in zns id ns
      Align print of zns id_ctrl with nvm id_ctrl
      Improve pretty print of the ZNS Command Set Identify Namespace command

Max Gurtovoy (1):
      nvme: add support for non shared namespaces

Narasimhan V (2):
      Getting interrupt list only for current controller
      Print human readable output for get_features test

Niklas Cassel (4):
      nvme-print: ZNS zoc field is 16 bits
      nvme-print: ZNS ozcs field is 16 bits
      nvme-print: fix ZNS Read Across Zone Boundaries print
      nvme-print: fix ZNS MAR/MOR print

Randy Bates (3):
      Update and Parse FB log page
      Updates from pull request review
      Initial coding

Revanth Rajashekar (1):
      nvme-cli: Update Intel VU Smart Log Add

Sagi Grimberg (6):
      nvme: add fabrics discovery controller default port number
      fabrics: move connect_args extraction to a dedicated routine
      fabrics: fix infinite loop is discovery recursion contains a loop
      fabrics: fix segfault when -t <transport> is not passed
      fabrics: fix passing ctrl_loss_tmo=0 by default
      nvme-status: Don't reduce all negative statuses to ECOMM

Stephen Kitt (1):
      Add Debian installation instructions

Steven Seungcheol Lee (16):
      Identify I/O Command Set data structure command added
      Added new namespace list command on list-ns, 4056 modification added
      zone-mgmt-recv report size bug fix
      Modify changed zone list command to issue get-log
      Add latency check for zone-append
      zone-mgmt-recv report size bug fix
      Modify changed zone list command to issue get-log
      Add latency check for zone-append
      zns: nsid is used for zone-mgmt-send exception handling
      zns: getting zdes logic using exist function, data_len should be in bytes
      Add zone-mgmt-recv parameters to issue command
      format: rescan after format for character device linux-nvme linux-nvme#709
      Add rpm build output on gitignore
      Handling system error linux-nvme#768
      nvme.c: read, write data size should be block_count * logical block size
      rpmbuild: install directories using Makefile's variables

Wei Hou (4):
      sfx: add set/get-feature sub cmd
      do capacity change check
      correct some prompt
      correct some prompt

Signed-off-by: Keith Busch <kbusch@kernel.org>

v1.12

Toggle v1.12's commit message
release v1.12

We're about to introduce major updates from new TPs, so now seems a good time
to tag a new release. Shortlog below.

Adam Judge (1):
      Fix PMRMSC.CMSE bitmask

Brandon Paupore (2):
      Updated/Added device IDs for SN440, ZN440, and SN640
      Corrected text output in FW activation history

Chaitanya Kulkarni (2):
      nvme: fix compiler warnings
      nvme: allow addr family to recognize loop

James Yang (1):
      Adding ScaleFlux subcommands

Jian Ding (1):
      fix apsrintf return check

KLZ-0 (3):
      controller list argument is required in attach-ns/detach-ns commands Empty controller-id list in the ioctl call for attach/detach of namespace results effectively in no operation, yet the nvme cli reports falsely success. The controller id list must be specified with at least 1 controller in the list.
      Emit a warning message when no controller-id is specified
      Improve error message

Keith Busch (5):
      Tag release with broken build fixes
      fixes for 32-bits
      fix uninitialized value warning
      fix id-ctrl power printa
      release v1.12

Martin George (1):
      fabrics: write reconnect_delay to fabrics device on connect

Martin Wilck (6):
      connect-all: add -m/--matching option
      nvmf-connect@.service: use nvme connect-all --matching
      doc: nvme-connect-all: document -m / --matching
      doc: nvme-connect-all: document -p / --persistent
      doc: nvme-connect-all: document -q / --quiet
      doc: nvme-connect-all: regenerate HTML and man pages

Randy (1):
      Add log page CA parsing

Randy Bates (4):
      Bug fixes
      Fix segmentation if invalid customer id
      Update systemd required version.
      Add customer id 0x101

Steven Seungcheol Lee (2):
      nvme.c: remove side effects from older commit
      format: skipping re-read partition for same lbaf or All NS

Tokunori Ikegami (1):
      MAINT: nvme-cli: Add LF code into error messages

Tomasz Kulasek (1):
      remove block device checking for namespace

Wu Bo (2):
      nvme-cli:lightnvm:fix fd leak when do ioctl failed
      nvme-cli:nvme:fix fd leak when an error occurs

Yi Zhang (1):
      nvme-print: nvme list -o json fix

Zhouhua Liu (1):
      nvme-cli: Add huawei vendor id as filter in command "nvme huawei list"

丁剑 (2):
      [memblaze] add select-download command
      [SMART] add more smart info

Signed-off-by: Keith Busch <kbusch@kernel.org>

v1.11.2

Toggle v1.11.2's commit message
Release stable fixes for 1.11

list was broken on slightly older linux kernels. Tag new release with
the fix on new branch.

Signed-off-by: Keith Busch <kbusch@kernel.org>

v1.11.1

Toggle v1.11.1's commit message
Tag release with broken build fixes

Signed-off-by: Keith Busch <kbusch@kernel.org>

v1.11

Toggle v1.11's commit message
nvme-cli: Release version 1.11

Signed-off-by: Keith Busch <kbusch@kernel.org>

v1.10.1

Toggle v1.10.1's commit message
New tag for missing docs

The previous release tag missed adding documentation required for a
successful install.

Signed-off-by: Keith Busch <kbusch@kernel.org>

v1.10

Toggle v1.10's commit message
Release v1.10

Signed-off-by: Keith Busch <kbusch@kernel.org>

v1.9

Toggle v1.9's commit message
Tag release: v1.9

Thank you to everyone who contributed to this release. Many updates for
the new 1.4 spec are rolling out, fabrics control enhancments, vendor
plugins/extentions, and the usual miscellaneous improvements to output
and options all included.

Shortlog:

Akinobu Mita (4):
      nvme-cli: add missing endianness conversions for telemetry log page
      nvme-cli: cleanup comments for telemetry log structure
      nvme-cli: add kernel-doc comment for struct telemetry_log_page_hdr
      nvme-cli: remove unused NVME_AER_NOTICE_*

Alexander Larin (1):
      Use 0x prefix for all hex values of id-ctrl output

Andy Lutomirski (1):
      Fix passing CFLAGS on the make command line.

Bart Van Assche (16):
      Remove superfluous casts
      Use NULL instead of 0 where a pointer is expected
      huawei: Declare local functions static
      seagate: Declare local functions static
      virtium: Declare local symbols static
      lightnvm: Fix an endianness issue
      virtium: Fix an endianness issue
      wdc: Fix endianness bugs
      Avoid using arrays with a variable length
      nvme-cli: Rework the code for getting and setting NVMf properties
      nvme-cli: Skip properties that are not supported
      Introduce NVMe 1.4 Identify Namespace fields in struct nvme_id_ns
      nvme-cli: Report the NVMe 1.4 NPWG, NPWA, NPDG, NPDA and NOWS fields
      nvme-cli: Restore support for older gcc versions
      nvme-cli: Restore RHEL 7 compatibility
      nvme-cli: Fix more endianness issues

Chaitanya Kulkarni (6):
      nvme-cli: cmbloc code cleanup
      nvme-cli: code cleanup adjust if statement
      nvme-cli: remove trailing space
      nvme-cli: use uniform if .. else format
      nvme-cli: use uniform if .. else format
      nvme-cli: use uniform if .. else format

Dominique Leuenberger (1):
      DOC: Move to DocBook 5 when using asciidoctor

Hannes Reinecke (3):
      nvme-cli: do not use 'queue_size' and 'nr_io_queues' for discovery controller
      nvme-cli: mask out invalid options during discovery
      nvme-cli: Update manpages to reflect discovery particulars

Haochen Tong (2):
      Fix code block style in the first section
      Update packaging state in Arch Linux

James Smart (8):
      nvme-cli: ignore arguments that pass in "none"
      nvme-cli: allow discover to address discovery controller by persistent name
      nvme-cli: Refactor to create a get_nvme_ctrl_info routine
      nvme-cli: extend ctrl_list_item for connect attributes
      nvme-cli: Add routine to compare ctrl_list_item to connect args
      nvme-cli: Add routine to search for controller with specific attributes
      nvme-cli: Expand --device argument processing
      nvme-cli: nvmf auto-connect scripts

Jeff Lien (4):
      [NVMe-CLI] WDC: Add support for 64 bit data addresses in Get DUI Data functions
      Add verbose capability to get DUI function to improve debug
      [NVMe-CLI] Add support for SN730 to WDC plugin commmands
      [NVMe-CLI] Add support for larger data sizes needed to get DUI data.

Jeffrey Lien (2):
      Fix Failure to read 0xCA Log Page on SN200 Device [NVMe-CLI] Fix Incorrect Data Formats with the 0xCA and 0xD0 Log Pages
      Add Disable IO flag to wdc_dump_dui_data function

Keith Busch (10):
      Revert "plugin: Return EINVAL instead of ENOTTY"
      Regen docs
      Reorder primary commands
      remove non-portable compile-time check
      Add a note to format on device naming conventions
      respin documentation
      doc: fixup 3rd party man page
      Spin documentation
      Fix sprintf truncate
      Regen docs

Kenneth Heitke (12):
      nvme: fix minor type in id-ctrl human readable output
      nvme-cli: add identify secondary controller list
      nvme-print: update self-test log to include 'aborted due to sanitize'
      nvme-print: remove Virtual Management support from ONCS
      nvme-print: add pretty print for estimated sanitize time
      nvme-print: add JSON for NVMe 1.4 NPWG, NPWA, NPDG, NPDA and NOWS fields
      nvme-print: Show value for Transport SGL Data Block Descriptor support
      nvme: add Verify command
      nvme: Enhanced Command Retry
      nvme: sanitize enhancements
      nvme: add support for Namespace Granularity
      nvme-print: show new CMBLOC bit fields added in NVMe 1.4

Max Gurtovoy (5):
      nvme: update list-ns nsid option
      nvme: update description for "nvme list" command
      fabrics: Fix memory leak of subsys list
      nvme-print: fix json object memory leak
      nvme: fix coding style issue

Minwoo Im (37):
      nvme: Close a fd leaked
      plugin: Return EINVAL instead of ENOTTY
      ioctl: Fix double-free in a loop of get_property
      ioctl: Fix wrong return case of get_property
      print: Introduce show_nvme_status to print nvme status
      print: Add const to return type of string
      get-telemtry-log: Print nvme status in case err > 0
      sanitize: Print nvme status in case ret > 0
      format: Do not return directly without freeing fd
      create-ns: Do not return directly without freeing fd
      list-ctrl: Do not return directly without freeing fd
      property: Introduce inline function to check 64bit reg
      property: Remove unnecessary wrapper function
      property: Fit print size for a property
      nvme.h: Fix typos in status code values
      nvme-cli: don't try to disconnect for ctrl with pcie transport
      nvme-cli: remove unnecessary initialize of local var
      nvme: Do not return in the middle of the subcommand
      fabrics: Do not return in the middle of the subcommand
      nvme: Return negative error value for internal errors
      nvme-status: Introduce nvme status module to map errno
      nvme: Return errno mapped for nvme error status
      fabrics: return error when discovery retry exhausted
      fabrics: Return errno mapped for fabrics error status
      format: check BLKRRPART failure
      nvme: clean up goto labels without whitespace
      lnvm: remove redundant whitespace in lnvm_init()
      lnvm: do not print 0 when the arg is not given
      lnvm: cast identity structure to (void *) directly
      doc: make description not only for PCIe
      doc: add extension plugins' command format
      lnvm: make data_len to sizeof() instead of magic number
      lnvm: introduce chunk-log command for chunk info
      lnvm: introduce alias geometry for id-ns for lnvm
      id-ctrl: add an indicator for get lba status capability
      id-ctrl: add 1.4 features to OAES
      get-lba-status: add Get LBA Status command

Quyen Truong (2):
      Add Virtium plugin extension
      Add Virtium plugin extension document

Revanth Rajashekar (2):
      nvme: add Persistent Memory Region (PMR) registers
      nvme: UUIDs for Vendor-Specific Information

Sagi Grimberg (4):
      spec, Makefile: add /etc/nvme files to package files
      spec, make: Add discovery.conf to the package files list
      nvme-cli: support persistent connections to a discovery controller
      nvme-cli: add --quiet option

Shun Sakai (1):
      Added openSUSE Leap to README.md

Simon Schricker (3):
      nvme-cli: fix typo, removing the duplicate 'are'
      nvme-cli: Increase size of ONTAP namespace path variable
      nvme-vendor: fix c99 declarations in vendor plugins

Yair Elharrar (1):
      nvme: change format default namespace id

Yoav Cohen (4):
      fix json print for list-subsys command
      add newline for command show-regs
      add free call for json object for commands show-regs
      add namespace to json output of nvme list

yongxing (1):
      NVMe-Cli Shannon Plugin-add support for shannon systems.

丁剑 (1):
      [Log] Memblaze add more log infomation for S.M.A.R.T.

Signed-off-by: Keith Busch <keith.busch@intel.com>

v1.8.1

Toggle v1.8.1's commit message
Release for new stable fixes

There's been a few fixes since the last tag that are fairly critical for
some scenarios, so we're tagging a new one already. Since these are all
just fixes and no new features, we'll add an additional minor digit to
the revision.

Signed-off-by: Keith Busch <keith.busch@intel.com>

v1.8

Toggle v1.8's commit message
Release version 1.8

There are some important fixes pending a release tag, so now seems as
good as any to tag the release.

Thank you again to everyone who's contribute to this round. Shortlog
below.

Breno Leitao (2):
      Fix compilation with GCC-8
      Fix CFLAGS parameter

Chaitanya Kulkarni (3):
      nvme-cli: fix compilation with uint64_t cast
      nvme-cli: minor cleanup for submit_io()
      nvme-cli: align all the macros

Dong Ho (11):
      wdc: Change device capability checking
      wdc: Add additional device for vs-internal-log
      wdc: Add device unit info log extraction
      wdc: Add get drive status command
      wdc: Add clear assert dump status command
      wdc: Add drive resize command
      wdc: Update device capabilities for clear pcie corr
      wdc: Update file parameter checking
      wdc: Add command to extract NAND statistics
      wdc: Add data area extraction for DUI command
      wdc: Additional device capabilities check

James Smart (1):
      nvme-cli: fix fc trtype string

Jeffrey Lien (3):
      NVMe-CLI WDC Plugin - add support for additional SN840 device ID.
      WDC plugin Change vs-internal-log Command to Save Partial E6 Log Data.
      WDC Plugins vs-internal-log command unsupported on SN340.

Keith Busch (8):
      generate new documentation
      Regen docs
      Fix print format specifiers
      Regen documentation
      Add new docs to repository
      Generate new documentation
      Fix format block size usage
      Regen documentation

Kenneth Heitke (4):
      Add reporting of Virtual Management support to id-ctrl
      Fix possible NULL pointer dereferences
      Fix possible memory leak on get-internal-log
      Print timestamp as a date and time string

Martin George (2):
      nvme-cli: add netapp ontapdevices command
      nvme-cli: add netapp ontapdevices man page

Mateusz Piotrowski (3):
      Fix markdown indentation issues
      Sort operating systems alphabetically
      Add FreeBSD installation instructions

Maxim (1):
      Adding a helper to format command to enable the user to specify desired block size and have nvme-cli determine the correct LBAF and add format helper to nvme-create-ns command

Minwoo Im (15):
      fabrics: Return negative errno when asprintf() fails
      fabrics: Return negative errno to check remove_ctrl() is failed
      doc: Update nvme-discover by describing options
      doc: Update nvme-connect by describing options
      doc: Update nvme-connect-all by describing options
      doc: Update nvme-disconnect by describing options
      doc: Add missing commands to main document entry
      nvme: Support raw_binary and json format for show-regs
      doc: Update show-regs document with output-format
      ioctl: Free memory if get_property for fabrics failed
      nvme: Use ARRAY_SIZE() macro in common.h
      nvme: Unify min(), max() macro as a common one
      nvme: Simplify description for virt-mgmt
      nvme: Simplify virt-mgmt options to lowercase
      tests: Update print to print() for python3

Roy Shterman (1):
      nvme-print: Fix evaluation of ctratt on pretty print

Sagi Grimberg (1):
      nvme: print I/O error to stderr

Signed-off-by: Keith Busch <keith.busch@intel.com>