Commit Graph

87 Commits

Author SHA256 Message Date
Daniel Wagner
77c42d1f72 Accepting request 1114409 from home:wagi:branches:Base:System
- 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
2023-09-29 16:19:36 +00:00
OBS User buildservice-autocommit
64b6bd841c Updating link to change in openSUSE:Factory/nvme-cli revision 65
OBS-URL: https://build.opensuse.org/package/show/Base:System/nvme-cli?expand=0&rev=838556d7b026dd818e32db16710ed99d
2023-07-27 12:13:15 +00:00
Daniel Wagner
18544c9813 Accepting request 1099861 from home:anag:branches:Base:System
Fix nvme-cli in Factory

- Fix FTBFS: Remove nvme-cli-2.4.obscpio and add instead nvme-cli-2.5.obscpio
- Update patch 0100-harden_nvmf-connect@.service.patch
- Update installation path for regress script.

OBS-URL: https://build.opensuse.org/request/show/1099861
OBS-URL: https://build.opensuse.org/package/show/Base:System/nvme-cli?expand=0&rev=138
2023-07-21 09:12:55 +00:00
Daniel Wagner
ae3c565f6c OBS-URL: https://build.opensuse.org/package/show/Base:System/nvme-cli?expand=0&rev=137 2023-07-12 16:09:51 +00:00
Daniel Wagner
2abae5e095 Accepting request 1076524 from home:wagi:branches:Base:System
- 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
2023-03-31 16:01:35 +00:00
Daniel Wagner
8bf4b974cc Accepting request 1062068 from home:wagi:branches:Base:System
- 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
2023-01-30 14:36:18 +00:00
Daniel Wagner
1aa78b710b Accepting request 1033046 from home:wagi:branches:Base:System
- 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
2022-11-03 11:32:41 +00:00
Daniel Wagner
bcdc35ef09 Accepting request 1005327 from home:wagi:branches:Base:System
- Support auto discovery, add %systemd_ordering to spec file (bsc#1186399)

OBS-URL: https://build.opensuse.org/request/show/1005327
OBS-URL: https://build.opensuse.org/package/show/Base:System/nvme-cli?expand=0&rev=129
2022-09-22 07:29:40 +00:00
Daniel Wagner
c40b8c962b Accepting request 1005185 from home:wagi:branches:Base:System
- Fix  "Add %systemd_requires to spec file (bsc#1186399)"
- Mark no binaries rpms as noarch

OBS-URL: https://build.opensuse.org/request/show/1005185
OBS-URL: https://build.opensuse.org/package/show/Base:System/nvme-cli?expand=0&rev=128
2022-09-21 11:43:51 +00:00
Daniel Wagner
91b4325ed5 - Add %systemd_requires to spec file (bsc#1186399)
OBS-URL: https://build.opensuse.org/package/show/Base:System/nvme-cli?expand=0&rev=127
2022-09-21 08:39:10 +00:00
Daniel Wagner
5889ced66d - Add %systemd_require to spec file (bsc#1186399)
OBS-URL: https://build.opensuse.org/package/show/Base:System/nvme-cli?expand=0&rev=126
2022-09-21 08:33:10 +00:00
Daniel Wagner
8f525d5de8 Accepting request 997603 from home:dirkmueller:Factory
- 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
2022-08-18 06:15:18 +00:00
Daniel Wagner
50aff5fca5 Accepting request 992470 from home:dirkmueller:Factory
- Update to version 2.1.1:
  * build: Update version to v2.1.1
  * build: Extend release script to support micro version releases
  * build: Add minimum build requirement on libnvme
  * wrapper: Add weak nvme_init_copy_range_f1 symbol
  * build: Update version before regenerating docs
  * build: Update release version rules

OBS-URL: https://build.opensuse.org/request/show/992470
OBS-URL: https://build.opensuse.org/package/show/Base:System/nvme-cli?expand=0&rev=122
2022-08-03 12:09:11 +00:00
Daniel Wagner
9bde1e4f0e Accepting request 992455 from home:wagi:branches:Base:System
- 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
2022-08-03 07:18:34 +00:00
Daniel Wagner
b2f39917d8 Accepting request 989205 from home:wagi:branches:Base:System
- Update to version v2.1~rc0:
  * build and install fixes/improvements
  * documentation fixes
  * version reporting includes library version
  * various fixes reported by coverity
  * new solidigm plugin

OBS-URL: https://build.opensuse.org/request/show/989205
OBS-URL: https://build.opensuse.org/package/show/Base:System/nvme-cli?expand=0&rev=119
2022-07-14 15:26:11 +00:00
Daniel Wagner
1fef01231f Accepting request 967888 from home:wagi:branches:Base:System
- 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
2022-04-08 17:21:07 +00:00
Daniel Wagner
de67f7792f Accepting request 966436 from home:wagi:branches:Base:System
- 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
2022-04-01 13:44:43 +00:00
Daniel Wagner
4dfc0f22ca Accepting request 963967 from home:wagi:branches:Base:System
- Fix install conflict caused by new bash completion script
  location (bsc#1197365).

OBS-URL: https://build.opensuse.org/request/show/963967
OBS-URL: https://build.opensuse.org/package/show/Base:System/nvme-cli?expand=0&rev=113
2022-03-22 14:12:54 +00:00
Daniel Wagner
e6464ce40c Accepting request 962943 from home:wagi:branches:Base:System
- 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
2022-03-18 19:46:07 +00:00
Daniel Wagner
5c41756e61 OBS-URL: https://build.opensuse.org/package/show/Base:System/nvme-cli?expand=0&rev=109 2022-03-11 18:13:29 +00:00
Daniel Wagner
335c7c1264 - Update to version 2.0-rc6:
* nvme: print out ANA state for 'list-subsys' (bsc#1195938)
  * nvme: Explicit initialize all command line options (bsc#1195945)
  * nvme: Explicit initialize passthru command line options
  * nvme: list_ns bug fix (csi option enable)
  * nvme: nvme write bug fix (no parse for option)
  * documenation updates

OBS-URL: https://build.opensuse.org/package/show/Base:System/nvme-cli?expand=0&rev=108
2022-03-11 18:08:56 +00:00
Daniel Wagner
ddda39aeb2 Accepting request 959372 from home:wagi:branches:Base:System
- Update to version 2.0-rc5:
  * nvme: passthru bugfix(wrong jump, wrong file descriptor)
  * nvme-cli: Ignore traddr case (bsc#1194025)
  * nvme: fix segfault in nvme telemetry-log error handling
  * fabrics: ensure zero kato for non-persistent controllers
  * documenation updates

OBS-URL: https://build.opensuse.org/request/show/959372
OBS-URL: https://build.opensuse.org/package/show/Base:System/nvme-cli?expand=0&rev=106
2022-03-04 10:41:37 +00:00
Daniel Wagner
eb4a118b1e Accepting request 956833 from home:wagi:branches:Base:System
- Update to version 2.0-rc4:
  * netapp-nvme: free the nsdescs pointer after use
  * netapp-nvme: fix ontapdevices segfault in json output
  * nvme-print: fix 'nvme list -o json' segfault
  * nvme: get_ns_id command fails on nvme device
  * wdc: updated products list for telemetry (--type) argument
  * docs: fix typo in Data Set Management section
  * Fix ctrlist for attach-ns and detach-ns
  * netapp-nvme: fix nvme ns desc uuid handling for ontapdevices
  * wdc: Fix use-after-free access of cbs_data
  * Fixed regression with 'open namespace exclusive' (bsc#1195945)

OBS-URL: https://build.opensuse.org/request/show/956833
OBS-URL: https://build.opensuse.org/package/show/Base:System/nvme-cli?expand=0&rev=105
2022-02-22 17:53:38 +00:00
Daniel Wagner
bbe824087d Accepting request 953754 from home:wagi:branches:Base:System
- 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
2022-02-11 14:40:49 +00:00
Daniel Wagner
c397bf9c7e Accepting request 950642 from home:wagi:branches:Base:System
- Update to version 2.0~2:
  * Adapt to logging API changes in libnvme
  * Adapt to scan API changes in libnvme
  * Reworked error message handling
  * Fix 'list-ns' (bsc#1195151)
  * Add 'gen-tls-key' and 'check-tls-key'
  * Add Media Unit Status log page support
  * Cleanups and build fixes
- Fix path to systemctl (bsc#1193699)

OBS-URL: https://build.opensuse.org/request/show/950642
OBS-URL: https://build.opensuse.org/package/show/Base:System/nvme-cli?expand=0&rev=103
2022-02-02 06:30:55 +00:00
Daniel Wagner
02ceeeeae5 Accepting request 947396 from home:wagi:branches:Base:System
- Fix zsh completion package depenedencies.

OBS-URL: https://build.opensuse.org/request/show/947396
OBS-URL: https://build.opensuse.org/package/show/Base:System/nvme-cli?expand=0&rev=102
2022-01-19 11:55:16 +00:00
Daniel Wagner
b244a29d6d Accepting request 947260 from home:wagi:branches:Base:System
- Use osc_scm to manage upstream input source.
- Fix version string.

OBS-URL: https://build.opensuse.org/request/show/947260
OBS-URL: https://build.opensuse.org/package/show/Base:System/nvme-cli?expand=0&rev=101
2022-01-18 15:52:19 +00:00
Daniel Wagner
515da9f2c2 Accepting request 946944 from home:wagi:branches:Base:System
- Update Source URL and introduce a variable for the release canditate
  version string.

OBS-URL: https://build.opensuse.org/request/show/946944
OBS-URL: https://build.opensuse.org/package/show/Base:System/nvme-cli?expand=0&rev=100
2022-01-17 13:11:40 +00:00
Hannes Reinecke
35fda8d32e Accepting request 946916 from home:wagi:branches:Base:System
- Update to v2.0-rc0
 * Depends on libnvme
 * rename harden_nvmf-connect@.service.patch to 0100-harden_nvmf-connect@.service.patch
 * drop 0102-nvme-cli-Add-script-to-determine-host-NQN.patch

OBS-URL: https://build.opensuse.org/request/show/946916
OBS-URL: https://build.opensuse.org/package/show/Base:System/nvme-cli?expand=0&rev=99
2022-01-17 09:11:39 +00:00
Daniel Wagner
20104c4e19 Accepting request 937405 from home:dimstar:Factory
- 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
2021-12-09 09:25:36 +00:00
Daniel Wagner
7f98666461 Accepting request 925474 from home:jsegitz:branches:systemdhardening_protectclock
- Drop ProtectClock hardening, can cause issues if other device acceess is needed

OBS-URL: https://build.opensuse.org/request/show/925474
OBS-URL: https://build.opensuse.org/package/show/Base:System/nvme-cli?expand=0&rev=97
2021-10-15 14:11:15 +00:00
Daniel Wagner
c0f839dfcb Accepting request 924887 from home:jsegitz:branches:systemdhardening:Base:System
Automatic systemd hardening effort by the security team. This has not been tested. For details please see https://en.opensuse.org/openSUSE:Security_Features#Systemd_hardening_effort

OBS-URL: https://build.opensuse.org/request/show/924887
OBS-URL: https://build.opensuse.org/package/show/Base:System/nvme-cli?expand=0&rev=96
2021-10-13 13:09:55 +00:00
Daniel Wagner
194a96e7e1 Accepting request 912907 from home:wagi:branches:openSUSE:Factory
- 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
2021-08-23 09:14:57 +00:00
Daniel Wagner
fae9c29bc1 Accepting request 907961 from home:wagi:branches:openSUSE:Factory
- Update copyright date
- Move bash-completion into subpackage to avoid zypper
  recommanding bash-completion everytime.

OBS-URL: https://build.opensuse.org/request/show/907961
OBS-URL: https://build.opensuse.org/package/show/Base:System/nvme-cli?expand=0&rev=94
2021-07-27 09:59:19 +00:00
Daniel Wagner
b47b18f421 Accepting request 904124 from home:manfred999:branches:Base:System
- install bash-completion file in correct directory
- recommend bash-completion

OBS-URL: https://build.opensuse.org/request/show/904124
OBS-URL: https://build.opensuse.org/package/show/Base:System/nvme-cli?expand=0&rev=93
2021-07-05 14:23:55 +00:00
Daniel Wagner
947859cd7a - update to 1.14
* 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
2021-05-04 09:58:09 +00:00
Daniel Wagner
2de7853fef Accepting request 848477 from home:fbui:branches:Base:System
- Drop '-f' option with %service_del_postun
  This option shouldn't be needed besides very few special cases. But
  this package doesn't seem to belong to this category.

OBS-URL: https://build.opensuse.org/request/show/848477
OBS-URL: https://build.opensuse.org/package/show/Base:System/nvme-cli?expand=0&rev=89
2020-11-16 08:04:23 +00:00
121572d3fd Accepting request 843562 from home:wagi:branches:Base:System
- update to 1.13
  * support for zoned command set
  * Identify I/O Command Set data structure command added
  * Added new namespace list command on list-ns, 4056 modification added
  * Added temperature information getting and text formatting
  * Implemented additional statistics to display
  * nvme: add support for non shared namespaces

OBS-URL: https://build.opensuse.org/request/show/843562
OBS-URL: https://build.opensuse.org/package/show/Base:System/nvme-cli?expand=0&rev=87
2020-11-05 09:32:24 +00:00
81daca8126 - update to 1.12
* 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
2020-08-16 00:18:24 +00:00
c9c8b4ae33 Accepting request 767576 from home:hreinecke:branches:Base:System
- Update to version 1.10.1+git9.872e6b0:
  * fabrics: fix connection args parsing
  * nvmf-autoconnect.service
  * Fix status displayed by vs-telemetry-controller-option wdc plugin command.
  * Provide documentation for log page directory WDC plugin command
  * Provide WDC plugin command to dump log page directory
  * Tests: Hande string encoding and handling failures
  * Makefile: use UDEVRULESDIR instead of UDEVDIR
- Rename 'nvme-det-hostnqn' script to 'nvme-gen-hostnqn'

OBS-URL: https://build.opensuse.org/request/show/767576
OBS-URL: https://build.opensuse.org/package/show/Base:System/nvme-cli?expand=0&rev=83
2020-02-04 12:01:32 +00:00
1895608a3b OBS-URL: https://build.opensuse.org/package/show/Base:System/nvme-cli?expand=0&rev=82 2020-01-22 07:19:54 +00:00
f7e109e138 Accepting request 764956 from home:hreinecke:branches:Base:System
- 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
2020-01-20 12:57:39 +00:00
Johannes Thumshirn
7b136ec1de Accepting request 749536 from home:hreinecke:branches:Base:System
- 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
2019-11-19 14:15:45 +00:00
Simon Schricker
b2d39d3db8 Accepting request 719003 from home:sschricker:branches:Base:System
- Update to version 1.8.1+git135.9bab71e
- Reorder install steps: Install systemd services first, since they
  are required for the udev rules, avoiding a theoretical race
  condition.

OBS-URL: https://build.opensuse.org/request/show/719003
OBS-URL: https://build.opensuse.org/package/show/Base:System/nvme-cli?expand=0&rev=77
2019-07-26 20:44:58 +00:00
Simon Schricker
c284f4a13b Accepting request 704983 from home:sschricker:branches:Base:System
- Add new subpackage containing the nvme-cli regress script
- Add script to determine host NQN based on the system UUID
  + 0008-nvme-cli-Add-script-to-determine-host-NQN.patch
- Add new udev rule for NetApp E-Series and adjust udev rule naming
  scheme accordingly. (bsc#1124564)
  + 0006-nvme-cli-add-default-IO-policy-rule-for-NetApp-E-Ser.patch
  + 0007-nvme-cli-Rename-udev-rule-for-ONTAP-controller.patch
- Update to version 1.8.1+git64.b969cf0:
  * fix json print for list-subsys command
  * Add Virtium plugin extension document
  * Add Virtium plugin extension
  * nvme.h: Fix typos in status code values
  * nvme-cli: remove unused NVME_AER_NOTICE_
  * list-ctrl, create-ns, format: Do not return directly without
    freeing fd

OBS-URL: https://build.opensuse.org/request/show/704983
OBS-URL: https://build.opensuse.org/package/show/Base:System/nvme-cli?expand=0&rev=75
2019-05-23 11:19:41 +00:00
Hannes Reinecke
d55eb58f3c Accepting request 702698 from home:sschricker:branches:Base:System
- 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
2019-05-14 06:23:12 +00:00
3afa1cf337 Accepting request 693666 from home:sschricker:branches:Base:System
- Add new 'ontapdevices' command and corresponding documentation.
  Requested in (bsc#1131930).
  + 0011-nvme-cli-add-netapp-ontapdevices-command.patch
  + 0012-nvme-cli-add-netapp-ontapdevices-man-page.patch
  + 0104-nvme-cli-Fix-documentation-syntax-and-typo.patch
- Revert stop-on-failure patch for connect-all, which caused
  unintended behaviour (bsc#1132124)
  + 0013-nvme-cli-Revert-stop-on-failure-with-connect-all.patch

OBS-URL: https://build.opensuse.org/request/show/693666
OBS-URL: https://build.opensuse.org/package/show/Base:System/nvme-cli?expand=0&rev=71
2019-05-01 06:28:17 +00:00
83f92ba664 Accepting request 686426 from home:sschricker:branches:Base:System
- 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
2019-03-29 09:41:27 +00:00
Johannes Thumshirn
b22de9320c Accepting request 669878 from home:tiwai:test:asciidoc-drop
- Build documents with asciidoctor (bsc#1075764)

OBS-URL: https://build.opensuse.org/request/show/669878
OBS-URL: https://build.opensuse.org/package/show/Base:System/nvme-cli?expand=0&rev=67
2019-02-12 09:50:58 +00:00
Johannes Thumshirn
93e1eeb26e Accepting request 669108 from home:hreinecke:branches:Base:System
- Update to version 1.7:
  * Use tnvmcap register for creating namespace
  * don't execute a command if --dry-run is supplied
  * Remove trailing "\n" so that the output is valid json
  * nvme-cli: remove unnecessary assignments
  * nvme-print.c : fix ns-descs JSON output
  * nvme-cli: fix typo in json_print_list_items
  * nvme-get-property : Add documentation
  * fabrics: write ctrl_loss_tmo to fabrics device on connect
  * fabrics: write keep-alive-timeout to fabrics device on connect
  * nvme-models.c - search for pci.ids
  * nvme-cli add ns write protect feature support
  * nvme-cli: add minimal ana-log page support
  * nvme-cli: add ana-log documentation
  * Fix print format specifier for 64-bit
  * nvme-ana-log: fixup compiler warning in show_ana_log()
  * nvme-vendor: fixup c99 declaration in huawei plugin
  * nvme-discover: sanitize options
  * Fix nvme id namespace struct
  * nvme-cli: make show_registers_cap() static
  * nvme-cli: wdc-plugin mark array static declaration
  * nvme-cli: fix sparse warnings for declaration
  * nvme-cli: don't use unsigned for fd in lnvm-nvme.c
  * nvme-cli: remove always true condition for u8
  * nvme-cli: fix dead-code nvmf log page discovery
  * nvme-cli: code cleanup for passthru() handlers
  * nvme-cli: fix scaandir() return value
  * nvme-cli: netapp plugin handle empty strings
  * nvme-cli: Fix the displayed metadata length value on Big Endian systems.
  * nvme list : fix nvme list output if identify failed on device

OBS-URL: https://build.opensuse.org/request/show/669108
OBS-URL: https://build.opensuse.org/package/show/Base:System/nvme-cli?expand=0&rev=65
2019-01-28 14:47:05 +00:00