- Update to version 2.6:
* nvme: allocate payload buffer in create-ns command
* nvme-print-stdout: Add CAP.CPS and CAP.NSSS human readable outputs
* nvme: Add output-format default option instead of argconfig json option
* nvme: fw-download offset only describes FW offset, not file offset
* unit: add locale number test
* util: handle utf-8 thousend separators correctly
* nvme: Change to use NVME_ARGS verbose default option from OPT_ARGS
* fabrics: Fix NVMF_ARGS macro to use parameter n correctly
* nvme: Add verbose default option to show command debug output
* util: Fix to set argconfig output format json option correctly
* util: Split argconfig output format json function to set and get
* nvme: Spport Phy Rx Eye Opening Measurement Log
* nvme: Introduce nvme_realloc function
* nvme: Fix for fdpa reserved field printing
* completion: add 'version' and 'help' to list
* udev-rule: apply round-robin iopolicy on i/o subsystems alone
* nvme: Add support for the OAQD ID controller field
* plugins/solidigm: use static log macro to calc bitmask
* plugins/ocp: Rename FW activation history command
* nvme: auto free nvme_dev resource
* nvme: allocate aligned payloads for all nvme commands
* nvme: introduce alloc helper with alignment support
* util: add cleanup function for generic memory allocations
* nvme: append huge to nvme_{alloc|free} function
* nvme: fw_download use nvme_alloc only
* fabrics: Removing duplicate code and moving to libnvme
* nvme-print: omit size of protection information
* tree: Modify label name close_fd to close_dev
* fabrics: For TCP/RDMA, compare IP addresses with nvme_ipaddrs_eq()
OBS-URL: https://build.opensuse.org/request/show/1114409
OBS-URL: https://build.opensuse.org/package/show/Base:System/nvme-cli?expand=0&rev=140
- Update to version 2.4:
* plugins/ocp: Add SMART cloud log to solidigm plugin
* nvme-print: Unify number base format for nsid
* nvme-(discover,connect,connect-all): enable options '--keyring' and '--tls_key'
* nvme-connect: enable option '--tls'
* nvme-check-tls-key: add options to derive a 'retained' TLS key
* nvme-gen-tls-key: add options to derive a TLS key
* plugins/ocp: Move SMART cloud log methods to separate file for reusability
* nvme: validate storage tag size correctly
* nvme-print-json: Add json output status function
* util: Cleanup argconfig parse function
* nvme: Fix format command function indentation errors
* util: Use argconfig commandline options pointer directly
* nvme-print: Fix nvme show status function indentation errors
* nvme: Check fw-commit command support MUD
* print: print csi and opcode in error log (TP4113)
* plugins/inspur: Cast vendor specific smart log value
* nvme: Use correct ABORT type for self abort test
* plugins/solidigm: Do not overwrite previously initialized variable
* nvme-print: sanitize supported-log-pages output
* nvme: Enforce length to a multiple of 4 in get_log_page
* nvme: fix block count and data size logic
* util: Introduce argconfig simple helper to check seen condition
* plugins/ocp: Add set feature EOL/PLP failure mode no-uuid option
* plugins/ocp: Refactor to clear feature identifier C1h and C3h
* plugins/ocp: Add support for clear PCIe correctable error counters feature
* nvme-doc: update man page for supported-log-pages
* plugins/ocp: OCP 2.0 field updates for SMART cloud log
* nvme: Fix parameter limit range
* fdp: Fix wrong Reclaim Unit Handle Status size
OBS-URL: https://build.opensuse.org/request/show/1076524
OBS-URL: https://build.opensuse.org/package/show/Base:System/nvme-cli?expand=0&rev=135
- Update to version 2.3:
* Added support for Flexible Data Placement (TP4146)
* Added Persistent Discovery Controller support (TP8013/TP8014)
* nvme-mi: support for firmware downloads
* nvme device-self-test learned the --wait command line argument
which makes nvme-cli to wait (incl. progress bar) in foreground
until the test has finished.
* A lot of bug fixes all over the place
- Update spec file
* Project depends on meson >= 0.50.0
* make build dependency dropped
OBS-URL: https://build.opensuse.org/request/show/1062068
OBS-URL: https://build.opensuse.org/package/show/Base:System/nvme-cli?expand=0&rev=133
- Update to version 2.2.1:
* Added parsing for Solidigm telemetry observable data.
* add item ddr_ecc_err_cnt in smart-log-add
* build: Drop dependency on libuuid
* build: Fix endian check for cross build
* build: Remove unused uuid.wrap file
* build: Remove unusned uuid.h include
* completions: Add show-topology tab completion
* fabrics: Honor JSON config file in connect-all command
* fabrics: Trigger auto connect if config.json exists
* fabrics: fix 'persistent' handling during connect-all with JSON file
* fabrics: nvme config --modify depends on -n and -t argument
* fabrics: re-read the discovery log page when a discovery controller reconnected
* json: Support uint64 types serialization for older json-c versions
* nvme, plugins: fix __u64 -> unsigned long long assumptions
* nvme-print: Add missing values in id-ctrl for JSON output
* nvme-print: Handle NULL hostid in JSON output
* nvme-print: Output 128bit values as uint128 type instead of double
* nvme-print: Print fguid as a UUID
* nvme-print: Use uint128 JSON function for media_units_written
* nvme-print: decode MI status values
* nvme-print: decode status types
* nvme-print: fix wrong json key
* nvme: Add helper function to parse 16-bit comma separated list
* nvme: Add nvme_cmd wrapper for get_features
* nvme: Add show-topology command
* nvme: Add wrapper for Format NVM
* nvme: Add wrapper for Sanitize NVM
* nvme: Add wrappers for Get Log page helpers
* nvme: Add wrappers for Identify controller lists
* nvme: Add wrappers for NS attach/detach
* nvme: Add wrappers for NS management functions
* nvme: Add wrappers for basic NS identify
* nvme: Add wrappers for firmware commands
* nvme: Fix set feature command to get feature identifier 0Dh length as zero
* nvme: Introduce a union in struct nvme_dev for different transport types
* nvme: Introduce nvme_cli_ wrappers, wrap identify and identify_ctrl
* nvme: Make static nvme_dev private to open_dev(), use locals elsewhere
* nvme: Masks SSTAT in sanize-log output
* nvme: Remove static nvme_dev, allocate on open instead
* nvme: Use correct print format specifier for sizeof arguments
* nvme: Use local struct nvme_dev for show_registers & map_registers
* nvme: check if cfg.metadata is NULL before passing it to strlen()
* nvme: use helpers for checking status types
* plugins/innogrit: Include timer.h
* plugins/innogrit: add smart items for smart-log-add
* plugins/micron-nvme: Use correct print format specifier for sizeof arguments
* plugins/ocp: Include timer.h
* plugins/ocp: Output 128bit values as uint128 type instead of double
* plugins/ocp: pass struct nvme_dev to internal functions
* plugins/seagate: Add support for OCP
* plugins/toshiba: pass struct nvme_dev rather than fd + name
* plugins/virtium: Output 128bit values as uint128 type instead of double
* plugins/wdc: Add support for SN660 drive
* plugins/wdc: Add type case for feature id
* plugins/wdc: Output 128bit values as uint128 type instead of double
* plugins/wdc: pass a struct nvme_dev around rather than a fd
* plugins/wdc: pass struct nvme_dev rather than using global nvme_dev
* plugins/ytmc: pass struct nvme_dev rather than fd + name
* plugins: Use PRIu64 format specifier for 64bit types
* print: Add Controller Ready Timeout Exceeded HW error code
* solidgm: fix initialization warning
* solidigm: Added parsing for telemetry customer screenable data
* solidigm: Fix printf format for size_t variable
* solidigm: Updated Telemetry parsing code to MIT license.
* subprojects/libnvme: update for MI admin command coverage
* tests: Update license to GPL-2.0-or-later
* tree: Add NVMe-MI support
* tree: Add dev_fd() helper
* tree: Change nvme_dev from global to static
* tree: Combine NVMe file descriptor into struct nvme_dev
* tree: Move global device info to a single struct
* tree: fail on non-negative return values from parse_and_open
* udev: Add HOST_IFACE to udev rule
* util/json.h: Add json_object_get_uint64 fallback implementation
* util/json: Add 128 bit JSON helpers
* util/types: Add 128 bit conversion helpers
* util: Fix le128_to_cpu on big-endian
* util: Fix le128_to_cpu on little-endian
* util: Move common type conversion helpers into util section
* utils/json: Add json_object_new_uint64 for json-c < 0.14
* utils: Fix uint128_t usage
* wdc: OCP Log page updates and fixes
* zns.c: report zones should be started after retrieved zone
- Handle suse-missing-rclink lint warnings by providing the symlinks
- Drop rpmlintrc as it is not needed anymore
OBS-URL: https://build.opensuse.org/request/show/1033046
OBS-URL: https://build.opensuse.org/package/show/Base:System/nvme-cli?expand=0&rev=131
- Update to version 2.1.2:
* build: Update version to v2.1.2
* wrapper: Update SPDIX license
* wrapper: Call library version of nvme_init_copy_range_f1
* Revert "udev: re-read the discovery log page when a discovery controller reconnected"
* nvme: Simplify ns list identify
* meson: we don't need a c++ compiler
* plugins/ocp: drop unused fd argument
* plugins/wdc: remove fd argument from print functions
* plugins/wdc: fix memset() on the address of a pointer
* plugins/solidigm: fix return value on format parse failure
* plugins/wdc: prevent duplicate close on NVMe device
OBS-URL: https://build.opensuse.org/request/show/997603
OBS-URL: https://build.opensuse.org/package/show/Base:System/nvme-cli?expand=0&rev=124
- Update to version v2.1:
* nvme: Do not print error message in collect_effects_log helper
* fabrics: Remove dhchap-ctrl-secret from discover/connect-all
* nvme-print: sanitize the get-feature async event config output
* nvme: Set default rae value for nvme_get_nsid_log users
* fabrics: Avoid nvme_scan_ctrl when disconnecting
* print: Fix nvme_id_uuid_list
OBS-URL: https://build.opensuse.org/request/show/992455
OBS-URL: https://build.opensuse.org/package/show/Base:System/nvme-cli?expand=0&rev=121
- Update to version 2.0:
* fabrics: Create persistent controller using unique subsystem NQN (bsc#1198243)
* fabrics: Set KATO for discovery controller when connecting
* fabrics: Do no modify default config for discovery controller
* fabrics: Set default trsvcid ports for TCP and RDMA (bsc#1195858)
* fabrics: Support connect even when no /etc/nvme/hostnqn file exists
* nvme: update to nvme_scan_filter_t modifications (bsc#1195938)
* plugins/intel: make 'buckets' a json array
* plugins: Update WDC capabilities command with new commmands
* plugins: Add OCP plugin
OBS-URL: https://build.opensuse.org/request/show/967888
OBS-URL: https://build.opensuse.org/package/show/Base:System/nvme-cli?expand=0&rev=117
- Update to version 2.0-rc8:
* fabrics: Add DIM command
* fabrics: Introduce force flag to overwrite persistence logic (bsc#1197076)
* fabrics: Free non-matching controller during discovery
* fabrics: add 'nvme config' command
* fabrics: Correctly stringify discovery.conf and config.json paths
* nvme-print: Add human readable print for nsattr field
* nvme-print: Update Persistent Event log fields
* nvme-print: print discovery async event support
* nvme-rpmb: Fix spelling for 'Partition'
* nvme-copy: add missing field to the command
* nvme: add get_mi_cmd_support_effects_log command
* nvme: Fixup namespace filtering yet again
* nvme: Use type bool for OPT_FLAG
* nvme: use filter for 'list-subsys <devname>' (bsc#1195938)
* Add lbstm option to create-ns
* argconfig: Do not use default value loading by getopt_long_only
* argconfig: Rename CFG_NONE to CFG_FLAG
* plugins: Use type bool for OPT_FLAG
* documenation updates
- Drop 'ProtectKernelTunables=true' (bsc#1197076)
OBS-URL: https://build.opensuse.org/request/show/966436
OBS-URL: https://build.opensuse.org/package/show/Base:System/nvme-cli?expand=0&rev=115
- Update to version 2.0-rc7:
* netapp-nvme: fix smdevices segfault in json output (bsc#1195937)
* fabrics: keep the backward compatibility
* nvme: Do not slash escape strings in JSON output (bsc#1195937)
* nvme: Print full device path
* nvme-print: Make JSON keys consistent with nvme-cli 1.x
* nvme-print: print generic device in list command
* fabrics: check for discovery controller instead of subsystem NQN (bsc#1197061)
* connect: Set errno to zero on nvmf_add_ctrl() success
* documenation updates
- Set path to systemctl via newly introduced config option
- Update 0100-harden_nvmf-connect@.service.patch due to upstream file rename
- Moved bash completion script to /usr/share/bash-completion/completions/nvme
OBS-URL: https://build.opensuse.org/request/show/962943
OBS-URL: https://build.opensuse.org/package/show/Base:System/nvme-cli?expand=0&rev=111
- Update to version v2.0-rc3:
* nvme-print: Fix json output for list-subsys
* nvme: Allow --verbose flag to increase log level
* Added telemetry log fetch support for SN810, SN530 and SN740 series NVMe SSDs through wdc vs-internal-log command
* nvmf: Remove --matching from systemd service file (bsc#1195665)
* nvme: Fix --force flag inversion (bsc#1195637)
* nvme: Add support for data area 4 to get-telemetry-log
* nvme: Add Supported Capacity Configuration List log page(LID: 0x11)
* nvme: Add Enhanced Controller Meta Data(FID: 0x7D)
* nvme-print: Add NVME_FEAT_FID_ENH_CTRL_METADATA to nvme_feature_to_string
* nvme-print: remove unused nvme_show_id_ctrl function
* nvme: Add nvm-id-ns-lba-format(CNS 0Ah) command from TP4095
* nvme: Add NVM Command Set specific identify namespace command
* nvme: Add id-ns-lba-format(CNS 09h) command from TP4095
* nvme: Add nulbaf(Number of Unique Capability LBA Formats) field on nvmd_id_ns
- Include precompiled documentation
OBS-URL: https://build.opensuse.org/request/show/953754
OBS-URL: https://build.opensuse.org/package/show/Base:System/nvme-cli?expand=0&rev=104
- Update to version 1.16:
+ Print ProductName found even if subvendor/subdevice is unknown.
+ Add New fields on PEL based on NVMe 2.0a.
+ nvme-cli:
- Split media units written/read into hi/lo 64 bit fields.
- Add support for new SN650 device.
- Update WDC pluging version to 1.15.3.
- fix the [data|mdata]_len param (boo#1193547).
- Add support for C3/Latency Monitor Log page parsing.
- ctrl-loss-tmo should accept -1 as value.
+ nvme: add spinup control feature (fid=0x1A).
+ nvme: Add Identify for CNS 08h NVMe spec 2.0a based.
+ nvme: add boot partition log support.
+ nvme: add support for fid supported and effects log(lid =
0x12).
+ add identify endurance group list (cns 0x19) support.
+ add json support for zns report zones.
+ fabrics: fix 'nvme discover' segfault if sysfs path is not
available.
OBS-URL: https://build.opensuse.org/request/show/937405
OBS-URL: https://build.opensuse.org/package/show/Base:System/nvme-cli?expand=0&rev=98
- update to 1.15
* add NVMe MI features
* add uuid index in get and set features command
* nvme-cli: Add lsi option for get-log command
* nvme: add json output format for list_ns
* fabrics: add fast_io_fail_tmo option
* fabrics: add --host-iface option
* nvme: add latency parameter for passthru commands
* nvme: add optional copy format support id ctrl field
* nvme: add zone desc changed notice async event
* nvme: add json, binary and human readable output format for id iocs
* fabrics: print device name on connect
* nvme: add get log page 2.0 spec fields
* nvme: add the status codes from 2.0 spec
* zns: add timeout parameter for Zone Management Commands
* nvme: add CDW2 and CDW3 support for Write Zeroes and Verify Command
* nvme: add Storage Tag Check field in NVM Commands
* bash: updated completion support for latest commands and plugins
* nvme: add capacity management command support
* add identify CNS 0x18 domain list support
OBS-URL: https://build.opensuse.org/request/show/912907
OBS-URL: https://build.opensuse.org/package/show/Base:System/nvme-cli?expand=0&rev=95
* nvme-discover: add json output
* nvme: add support for lba status log page
* nvme: add support for endurance group event aggregate log
* nvme: add endurance group event configuration feature
* nvme: add latest opcodes for command supported and effects log
* zns: print select_all field for Zone Management Send
* print topology for NVMe nodes in kernel and path
* nvme: add support for predictable latency event aggregate log page
* nvme: add support for persistent event log page
* Show more async event config fields
OBS-URL: https://build.opensuse.org/package/show/Base:System/nvme-cli?expand=0&rev=91
* Corrected text output in FW activation history
* nvme: allow addr family to recognize loop
* Add log page CA parsing
* nvme status code updates based nvme spec v1.4
* Provide documentation for log page directory WDC plugin command
* Fix status displayed by vs-telemetry-controller-option wdc plugin
* fabrics: ignore hostnqn file if its empty
OBS-URL: https://build.opensuse.org/package/show/Base:System/nvme-cli?expand=0&rev=85
- Update to version 1.10.1+git2.797ec65:
* Makefile: generate Dracut config according to UDEVDIR
* Add additional smart log critical warn decoding
* New tag for missing docs
* Add new wdc documentation
* Release v1.10
* Regen documentation
* Use asprintf for long names
* [NVME-CLI] Add documentation file for vs-error-reason-identifier WDC plugin command. [NVME-CLI] Minor updates/corrections to the clear-fw-activate-history and vs-fw-activate-history command help text.
* [NVME-CLI] Add support for WDC plugin command - vs-error-reason-identifier [NVME-CLI] Reverse enable/disable bit on the vs-telemetry-controller-option WDC plugin command
* Fix systemd service script use of CONNECT_ARGS env var
* Shannon Plugin update.
* Doc/Makefile: Introduce 'quiet' build option
* Makefile: use 'quiet' compile
* Makefile: Use special variables
* micron: don't ignore 'system()' return value
* Fix libhugetlbfs flags
* Regenerate documentation
* Micron plugin updates
* README.md: Mention the buildroot package
* nvmf-autoconnect: add udev rules to set iopolicy for certain NetApp devices
* Fix intel json latency statistics output format
* intel: Add function lat-stats to cli Adds the lat-stats function to intel plugin. If lat-stats-tracking is enabled, lat-stats will print out latency statistics according to the user's desired format.
* [NVMe-CLI] Update documentation for telemetry data retrieval to vs-internal-log wdc plugin command.
* [NVMe-CLI] Add support to retrieve telemetry data in vs-internal-log
* [nvme-cli] Add documentation file for new wdc plugin command - vs-telemetry-controller-option
* [nvme-cli] Add support for wdc plugin command - vs-telemetry-controller-option
* Fix typo (bulit -> built)
* Warn on admin-passthru opcode not matching read/write flag
* MAINT: Fix format compile warning error on 32 bit system
OBS-URL: https://build.opensuse.org/request/show/764956
OBS-URL: https://build.opensuse.org/package/show/Base:System/nvme-cli?expand=0&rev=81
- Add libhugetlbfs to the list of build requirements
- Update to version 1.9+git122.c5097d5:
* [NVMe-CLI] Get DUI for SN-340 failing with Data Area 4 - Buffer Misalignment
* Minor intel-nvme print refactor
* Use simpler nvme ioctl api for admin
* Relocate functions and constants to the files that use them
* Move all spec defined structs to single file
* Update build rules for .c with no .h
* Update my email address
* Makefile: fix cleaning subdirectories
* remove unused "paths" controller field
* reign in line lengths
* Add print for directive receive
* Unify print routines
* regenerate documentation
* fix fw-download reference to committing fw
* argconfig: Remove unused paramters
* fix huawei filter to search all namespaces
* nvme-cli: Support for hugetlbfs
* Remove all 'struct nvme_command' usage
* nvme-cli: Update PMR Capability and PMR Status 1. Adding Controller Memory Space Supported(CMSS) in PMRCAP 2. Adding Persistent Memory Region Status(CBAI) in PMRSTS
* nvme-cli: Update Controller Capabilities Register 1. Add Controller Memory Buffer Supported (CMBS)
* nvme-cli: Update NVMe Registers 1. Add Controller Memory Buffer Memory Space Control (CMBMSC) 2. Add Controller Memory Buffer Status (CMBSTS) 3. Add Persistent Memory Region Memory Space Control (PMRMSC)
* fixup attach-ns documentation
* Add files via upload
* [NVMe-CLI] Updates and fixes to WDC plugin command vs-internal-log for the SN340 drive.
* Regen docs, add host-nqn man page
* [NVMe-ClI] Add Documentation files for clear-fw-activate-history command
* [NVMe-CLI] Add clear-fw-activate-history WDC plugin command
OBS-URL: https://build.opensuse.org/request/show/749536
OBS-URL: https://build.opensuse.org/package/show/Base:System/nvme-cli?expand=0&rev=79
- Update to version 1.8.1+git41.2c43c51:
* nvme-print: remove Virtual Management support from ONCS
* nvme-print: update self-test log to include 'aborted due to
sanitize'
* move to DocBook 5
* nvme-cli: add missing endianness conversions for telemetry log
page
* property: Fit print size for a property
* Add Disable IO flag to wdc_dump_dui_data function
* Reorder primary commands
* nvme-cli: add identify secondary controller list
* sanitize/get-telemetry-log: Print nvme status in case ret > 0
* print: Introduce show_nvme_status to print nvme status
* ioctl: Fix wrong return case of get_property
* ioctl: Fix double-free in a loop of get_property
* improved Documentation
* fix compilation with GCC-8
* fix CFLAGS parameter
* nvme-cli: fix compilation with uint64_t cast
* nvme-cli: minor cleanup for submit_io()
* nvme-cli: align all the macros
* 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
OBS-URL: https://build.opensuse.org/request/show/702698
OBS-URL: https://build.opensuse.org/package/show/Base:System/nvme-cli?expand=0&rev=73
- Add nvmefc-connect.target to allow stopping the parameterized
services (bsc#1127076). Also change the service type so udevd
doesn't have to wait for the termination of the service process.
+ 0102-Add-nvmefc-connect.target.patch
+ 0103-Change-service-to-type-simple.patch
- Regenerate documentation (bsc#1124713)
* Add 0007-Regen-docs.patch
- Minor cleanup for submit_io (bsc#1124713)
* Add 0008-nvme-cli-minor-cleanup-for-submit_io.patch
- Regenerate documentation ((bsc#1124713)
* Add 0009-Regen-documentation.patch
- Fix fc_trtype string (bsc#1124713)
* Add 0010-nvme-cli-fix-fc-trtype-string.patch
- Add 71-nvme-iopolicy-netapp.rules (bsc#1124564)
* Add 0101-71-nvme-iopolicy-netapp.rules-add-default-rules-for-.patch
OBS-URL: https://build.opensuse.org/request/show/686426
OBS-URL: https://build.opensuse.org/package/show/Base:System/nvme-cli?expand=0&rev=69