- Update to version v1.6 (FATE#326139, FATE#326434, FATE#326558):
* Release 1.6
* lightnvm: fix type coercion
* fix reservation report 0's based dword count
* nvme.c, list_ns: use le32_to_cpu in display
* nvme-cli: adjust memset size for data buffer in submit_io
* fabrics: omit newline character when reading nvme host nqn
* fabrics: fail early if argconfig_parse failed
* nvme-cli: print firmware activation notices support bit to id_ctrl
* nvme-cli: add support of RAE
* Add a single get-property command for NVMeOF.
* nvme-ioctl.c : nvme_get_properties(): fix 64bit offset advance
* nvme-cli: add support for DLFEAT
* intel: fix latency stats printing
* Update doc
* nvme-cli: add changed-ns-list-log documentation
* nvme-cli: add changed log ns support
* NVMe-CLI Fix id-ns fpi field when Human Readable option selected.
* Fix format specifier for 32-bit
* Fix json output of 128-bit numbers
* Replace host-gen telemetry short-option 'h' with 'g'
* Add man pages for new device self test commands
* Updating version to 1.1
* nvme-cli: Implement printing get NOPSC feature
* nvme-cli: Implement printing the get Keep Alive Timer feature
* nvme-cli: Implement printing the get host controlled thermal management feature.
* nvme-cli: Implement printing the get timestamp feature.
* Adding ppc big endian support
* Revert "nvme-cli: Wait for device file if not present after successful add_ctrl"
* Revert "nvme-cli: Add ioctl retry support for "connect-all"" (forwarded request 642268 from morbidrsa)
OBS-URL: https://build.opensuse.org/request/show/642655
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nvme-cli?expand=0&rev=27
- Update to version v1.5 (FATE#322735):
* Remove upstreamed patches:
- 0001-nvme-Introduce-new-list-subsys-command.patch
- 0009-fabrics-also-set-queue_size-and-nr_io_queues-on-conn.patch
* fabrics: also set queue_size and nr_io_queues on connect-all connects
* nvme-cli: add duplicate_connect parameter support
* nvme-cli : wdc-plugin Add support for WDC SN100 and SN200 devices.
* Add AEN decoder helper to get-log
* Regen documentation
* Add Nix(OS) install instructions to the README
* Fix the Markdown code for the Alpine install instructions
* nvme-cli: make address print format more human-readable
* intel-nvme: Fix compiler errors and warnings
* Include sizing data in json output that's already included in the non-json results.
* Cleanup variable definitions
* Add command effects log page
* Increase default format timeout
* Revert "nvme-cli: add duplicate_connect parameter support"
* nvme-cli: add duplicate_connect parameter support
* nvme-cli: fix wrong bitmask in number of rpmb units.
* nvme-cli: make command description const
* nvme/id-ns: do not try to get namespace id from non-block device.
* Fix typo in previous commit
* Fix long suffix parse on 32-bit machines
* Nitpicked a printing alignment issue with the id-ns vendor specific field
* Avoid unnecessary abbreviation.
* nvme/flush: explicitely close file descriptor
* Fix memory leak
* Add 'DEAC' support to write-zeroes command
* Rebuild documentation (forwarded request 563245 from morbidrsa)
OBS-URL: https://build.opensuse.org/request/show/563246
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nvme-cli?expand=0&rev=22
- Update to version v1.4 (FATE#322735):
* Fixup Security send/recv to read data from disk
* Unbreak RPM build after bash completion files were moved in 7e4c7596
* fabrics: Fix disconnect_by_device from disconnecting instance 0 on error
* lightnvm: allow to init target on factory mode
* Fixed problem with security-recv binary output not working correctly
* nvme-cli: return 0 if disconnect operation with cfg.nqn successfully
* Fix compile for 32-bit
* nvme-cli: Fix build on aarch64-linux-android-4.9
* nvme-cli: Huawei plug-in.
* nvme-print: Fix line spacing on -H option
* id-ctrl: remove new lines from json output
* nvme-list: print empty lists when no devices are present
* fabrics: add option to override drivers queue depth
* nvme-cli: nvme-intel implement json output for smart-log
* nvme-cli: Add parsing support for noiob
* Fix potential device string truncation
* fabrics: add option to override drivers queue depth also for connect-all command
* Regenerate man-pages
* Release v1.3
* nvme-print: Free only top-level json objects
* fix use-after-free in pci.ids parsing
* nvme-cli: add fields into identify controller data structure
* nvme-cli: show more fields for id-ctrl
* nvme-cli: id-ctrl: display additional fields
* Show help when no or an invalid device is given
* nvme-cli: add id-ctrl for nvme-huawei plug-in.
* Fix spelling errors
* fabrics: add hostid option to connect command
* nvme-cli: add ns-descs subcommand (forwarded request 534900 from morbidrsa)
OBS-URL: https://build.opensuse.org/request/show/534901
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nvme-cli?expand=0&rev=19
- 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