- 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
* 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
- 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
- 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""
OBS-URL: https://build.opensuse.org/request/show/642268
OBS-URL: https://build.opensuse.org/package/show/Base:System/nvme-cli?expand=0&rev=59
- 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
OBS-URL: https://build.opensuse.org/request/show/563245
OBS-URL: https://build.opensuse.org/package/show/Base:System/nvme-cli?expand=0&rev=48
- 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
OBS-URL: https://build.opensuse.org/request/show/534900
OBS-URL: https://build.opensuse.org/package/show/Base:System/nvme-cli?expand=0&rev=42
- Update to version v1.2 (FATE#322735 ,bsc#1033410):
* Include endian.h for byte/host order functions
* nvme-cli: Add nvme hostnqn generation option
* nvme.spec/debian: Auto generate host nqn as part of install
* Documentation: Add entry for gen-hostnqn
* Regenerate Documentation
* Fix read/write man pages
* get-features: Don't try to read the data buffer for sel == 3
* Documentation: fix location of device reset
* Regen documentation
* Remove debian/ directory
* Remove pyc files generated by 'make test'
* Moving the bash completion files to the standard
* lightnvm: default to -1 on lun begin and end
* nvme-cli: fabrics: Fix to pass "host_traddr" to the kernel driver.
* nvme-cli: id-ctrl: Fix memory leak for JSON.
* nvme-cli: id-ns: Fix memory leak for JSON.
* nvme-cli: error-log: Fix memory leak for JSON.
* nvme-cli: resv-report: Fix memory leak.
* nvme-cli: smart-log: Fix memory leak for JSON.
* nvme-cli: fw-log: Fix memory leak for JSON.
* nvme-cli: json_add_smart_log(): Fix memory leak for JSON.
* nvme-cli: smart-log: Allow negative values for temp sensors.
* Don't print unimplemented sensor
* Build without uuid
* get-ns-id: Exit when no device provided.
* nvme-cli: id-ctrl: Add vendor fields in JSON id-ctrl.
* nvme-cli: nvme.c: Allow plug-ins to access to output formats and helper.
* nvme-cli: Western Digital/HGST plug-in.
* nvme-cli: Western Digital/HGST plug-in documentation.
OBS-URL: https://build.opensuse.org/request/show/490163
OBS-URL: https://build.opensuse.org/package/show/Base:System/nvme-cli?expand=0&rev=22
- Update to upstream release v0.8
- Remove merged patch 0001-bash-completion-Remove-shebang-line.patch
* Code re-organized to support new extensions. While these are called
"plugins", they currently have to be built into the executable. Support
for dynamically loadable plugins is under consideration.
* LightNVM is added as a built-in plugin.
* Intel vendor specific commands and structure decodings are supported
in a new intel plugin.
* Support for NVMe-over-Fabrics
* New output format "json" for a subset of commands that decode returned
structures.
* Lots of various documentation and minor code fixes.
OBS-URL: https://build.opensuse.org/request/show/418287
OBS-URL: https://build.opensuse.org/package/show/Base:System/nvme-cli?expand=0&rev=14
- Update to upstream release v0.7
Keith writes:
Just a few minor updates and documentation fixes. There is also a new
option for passthrough commands that can be used to help detect data
over/under run.
Tagging a stable release so we can consider features that bring in other
transports and third party extensions.
This also adds a patch to remove the shebang line from the bash completion, to
make rpmlint happy again. Patch is on it's way to upstream.
OBS-URL: https://build.opensuse.org/request/show/399454
OBS-URL: https://build.opensuse.org/package/show/Base:System/nvme-cli?expand=0&rev=11