From f7868ae51133da2e4c2e31ddcdb2113907e9b41b Mon Sep 17 00:00:00 2001 From: zyppe <210hcl@gmail.com> Date: Tue, 5 Mar 2024 16:50:56 +0800 Subject: [PATCH] Initialize for nvme-cli --- .gitignore | 1 + .nvme-cli.metadata | 1 + nvme-cli-rpmlintrc | 2 + nvme-cli.changes | 1808 ++++++++++++++++++++++++++++++++++++++++++++ nvme-cli.spec | 174 +++++ 5 files changed, 1986 insertions(+) create mode 100644 .gitignore create mode 100644 .nvme-cli.metadata create mode 100644 nvme-cli-rpmlintrc create mode 100644 nvme-cli.changes create mode 100644 nvme-cli.spec diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..a6e20f4 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +nvme-cli-2.4+31.gf7ec09.tar.gz diff --git a/.nvme-cli.metadata b/.nvme-cli.metadata new file mode 100644 index 0000000..89209aa --- /dev/null +++ b/.nvme-cli.metadata @@ -0,0 +1 @@ +a68682916d5d9920bf85c4dd04222b6a1dd682b91c013e82234fbf9a81415448 nvme-cli-2.4+31.gf7ec09.tar.gz diff --git a/nvme-cli-rpmlintrc b/nvme-cli-rpmlintrc new file mode 100644 index 0000000..da09e90 --- /dev/null +++ b/nvme-cli-rpmlintrc @@ -0,0 +1,2 @@ +addFilter("W: systemd-service-without-service_del_preun") +addFilter("W: systemd-service-without-service_del_postun") \ No newline at end of file diff --git a/nvme-cli.changes b/nvme-cli.changes new file mode 100644 index 0000000..8e19cbe --- /dev/null +++ b/nvme-cli.changes @@ -0,0 +1,1808 @@ +* Fri Nov 3 2023 dwagner@suse.de +- Update to version 2.4+31.gf7ec09: + * udev-rules: rename netapp udev rule (bsc#1215994) + * udev-rules: set ctrl_loss_tmo to -1 for ONTAP NVMe/TCP (bsc#1215994) + * udev-rule: apply round-robin iopolicy on i/o subsystems alone (bsc#1215994) + * fabrics: For TCP/RDMA, compare IP addresses with nvme_ipaddrs_eq() (bsc#1213768) + * fabrics: lookup_discovery_ctrl() must look under host and not root (bsc#1213768) + * fabrics: only look for matching ctrl on same host (bsc#1213768) +* Tue Sep 5 2023 dwagner@suse.de +- Update to version 2.4+25.g367eb9: + * json: fix seg. fault converting NULL to JSON string (bsc#1213762) +* Thu Jul 27 2023 dwagner@suse.de +- Update to version 2.4+24.ga1ee20: + * nvme-print-stdout: Do not show non reachable ns in namespace topology (bsc#1212598) + * nvme-print-stdout: List only ctrls which are part of ns bsc#1212598) + * nvme-print-stdout: Support subsys reachable from several hosts bsc#1212598) + * ccan: Add htable, strset and dependencies bsc#1212598) + * ccan: Remove unused documentation bsc#1212598) + * nvme-print: fix counter while looping through uuid_list (bsc#bsc#1212598) + * nvme-print: Show subsystem iopolicy (bsc#1124564) +* Wed May 24 2023 daniel.wagner@suse.com +- Update to version v2.4 (jsc#PED-553 jsc#PED-3884) + - Sanitize traddr and trsvcid avoid buffer overrun (bsc#1207435) + * json_discovery_log: avoid buffer overrun + - Extend udev rule to pass --host-interface argument to nvme-cli (bsc#1208001) + * udev: Add HOST_IFACE to udev rule + - Build documentation to be up to date + - Fix build warning (git-fixes) + * fabrics: 'e->traddr' is static + - Improvements for supported-log-pages (bsc#1209550) + * nvme-doc: update man page for supported-log-pages + * nvme-print: sanitize supported-log-pages output + - Fix read command (bsc#1209564) + * nvme: fix block count and data size logic + - Fix mounting filesystems via fstab (bsc#1208075) + * fabrics: Fix ordering for auto connect services + - Update host_traddr when using config.json file (bsc#1210089) + * fabrics: fix fc config JSON file handling + - remove 0100-harden_nvmf-connect@.service.patch +- Added compat commands for nbft back +- Changed default behavior of connect-all to match with old nbft + behavior +- Replaced old nbft implementation with upstream one +- Rebuild documentation on package update +- Set version-tag so that version are correctly reported +- Fix connect nbft regressions (bsc#1209905) + * fabrics: fix argc in show_nbft_compat_cmd() +- Fix auto connect conditions (bsc#1210105) + * fabrics: fix conditions in nvmf-autoconnect.service +- Fix auto boot for NBFT connections (bsc#1211647) + * fabrics: add udev rule to avoid renaming nbft interfaces + * fabrics: autoconnect: add service unit for connecting NBFT subsystems +* Mon Jan 30 2023 mwilck@suse.com +- spec file: fix "check" section (bsc#1207686) +- add "Provides: nvmeof-boot-support = 0.1" +* Tue Jan 24 2023 mwilck@suse.com +- Add %%check section in spec file to run unit tests +* Fri Jan 20 2023 mwilck@suse.com +- Update to version 2.2.1+3.gd028407: + * Add support for booting from NVMe-oF/TCP according to NVM Express + Boot Specification v1.0 (jsc#PED-1449) + * Add support for "nvme show-nbft" and "nvme connect-nbft" subcommands +* Wed Nov 2 2022 daniel.wagner@suse.com +- Update to version 2.2.1 (jsc#ped-553): + * Added parsing for Solidigm telemetry observable data. + * Revert "udev: re-read the discovery log page when a discovery controller reconnected" + * add item ddr_ecc_err_cnt in smart-log-add + * build and install fixes/improvements + * build: Add minimum build requirement on libnvme + * build: Drop dependency on libuuid + * build: Extend release script to support micro version releases + * build: Fix endian check for cross build + * build: Remove unused uuid.wrap file + * build: Remove unusned uuid.h include + * build: Update release version rules + * build: Update version before regenerating docs + * completions: Add show-topology tab completion + * documentation fixes + * fabrics: Avoid nvme_scan_ctrl when disconnecting + * fabrics: Honor JSON config file in connect-all command + * fabrics: Remove dhchap-ctrl-secret from discover/connect-all + * 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 + * meson: we don't need a c++ compiler + * new solidigm plugin + * 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-print: sanitize the get-feature async event config output + * 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: Do not print error message in collect_effects_log helper + * 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: Set default rae value for nvme_get_nsid_log users + * nvme: Simplify ns list identify + * 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: drop unused fd argument + * plugins/ocp: pass struct nvme_dev to internal functions + * plugins/seagate: Add support for OCP + * plugins/solidigm: fix return value on format parse failure + * 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: fix memset() on the address of a pointer + * 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/wdc: prevent duplicate close on NVMe device + * plugins/wdc: remove fd argument from print functions + * 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 + * print: Fix nvme_id_uuid_list + * 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 + * various fixes reported by coverity + * version reporting includes library version + * wdc: OCP Log page updates and fixes + * wrapper: Add weak nvme_init_copy_range_f1 symbol + * wrapper: Call library version of nvme_init_copy_range_f1 + * wrapper: Update SPDIX license + * zns.c: report zones should be started after retrieved zone +- Drop upsreamp patches + * remove 0001-fabrics-Already-connected-uses-a-different-error-cod.patch + * remove 0002-fabrics-skip-connect-if-the-transport-types-don-t-ma.patch + * remove 0003-nvme-print-Show-paths-from-the-first-namespace-only.patch + * remove 0004-nvme-print-Show-ANA-state-only-for-one-namespace.patch + * remove 0005-fabrics-Honor-config-file-for-connect-all.patch + * remove 0006-fabrics-Remove-dhchap-ctrl-secret-from-discover-conn.patch + * remove 0007-fabrics-error-message-for-nvme-discover-connect-all-.patch + * remove 0008-fabrics-avoid-segfault-when-nvme-discover-fails-with.patch + * remove 0009-fabrics-avoid-segfault-if-transport-type-is-omitted.patch + * remove 0010-nvme-Return-status-error-code-for-effects-log-comman.patch + * remove 0011-nvme-fix-nvme-get-feature-with-H-option.patch + * remove 0012-fabrics-Avoid-nvme_scan_ctrl-when-disconnecting.patch + * remove 0013-nvme-Do-not-print-error-message-in-collect_effects_l.patch + * remove 0014-nvme-print-Handle-NULL-hostid-in-JSON-output.patch + * remove 0015-nvme-print-sanitize-the-get-feature-async-event-conf.patch +- Handle suse-missing-rclink lint warnings by providing the symlinks +- Support auto discovery, add %%systemd_ordering to spec file (bsc#1186399) +- Mark no binaries rpms as noarch +* Wed Sep 21 2022 dwagner@suse.de +- Support auto discovery, add %%systemd_ordering to spec file (bsc#1186399) +- fabrics: Remove dhchap-ctrl-secret from discover/connect-all (bsc#1201701) + * add 0006-fabrics-Remove-dhchap-ctrl-secret-from-discover-conn.patch +- Fabrics related bug fixes + * add 0007-fabrics-error-message-for-nvme-discover-connect-all-.patch + * add 0008-fabrics-avoid-segfault-when-nvme-discover-fails-with.patch + * add 0009-fabrics-avoid-segfault-if-transport-type-is-omitted.patch + * add 0010-nvme-Return-status-error-code-for-effects-log-comman.patch + * add 0011-nvme-fix-nvme-get-feature-with-H-option.patch + * add 0012-fabrics-Avoid-nvme_scan_ctrl-when-disconnecting.patch + * add 0013-nvme-Do-not-print-error-message-in-collect_effects_l.patch + * add 0014-nvme-print-Handle-NULL-hostid-in-JSON-output.patch + * add 0015-nvme-print-sanitize-the-get-feature-async-event-conf.patch +* Tue Jun 7 2022 dwagner@suse.de +- fabrics: Already connected uses a different error code (bsc#1199994) + * add 0001-fabrics-Already-connected-uses-a-different-error-cod.patch +- fabrics: skip connect if the transport types don't match (bsc#1199949 bsc#1199994) + * add 0002-fabrics-skip-connect-if-the-transport-types-don-t-ma.patch +- nvme-print: Show ANA state only for one namespace (bsc#1200044 bsc#1199956 bsc#1199990) + * add 0003-nvme-print-Show-paths-from-the-first-namespace-only.patch + * add 0004-nvme-print-Show-ANA-state-only-for-one-namespace.patch +- fabrics: Honor config file for connect-all (bsc#1199504) + * add 0005-fabrics-Honor-config-file-for-connect-all.patch +* Fri Apr 8 2022 daniel.wagner@suse.com +- 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 +* Fri Apr 1 2022 daniel.wagner@suse.com +- 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 ' (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) +* Tue Mar 22 2022 daniel.wagner@suse.com +- Fix install conflict caused by new bash completion script + location (bsc#1197365). +* Fri Mar 18 2022 daniel.wagner@suse.com +- 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 +* Fri Mar 11 2022 daniel.wagner@suse.com +- 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 +* Thu Mar 3 2022 daniel.wagner@suse.com +- 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 +* Tue Feb 22 2022 daniel.wagner@suse.com +- 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) +* Fri Feb 11 2022 daniel.wagner@suse.com +- 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 +* Tue Feb 1 2022 daniel.wagner@suse.com +- 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) +* Wed Jan 19 2022 daniel.wagner@suse.com +- Fix zsh completion package depenedencies. +* Tue Jan 18 2022 daniel.wagner@suse.com +- Use osc_scm to manage upstream input source. +- Fix version string. +* Mon Jan 17 2022 daniel.wagner@suse.com +- Update Source URL and introduce a variable for the release canditate + version string. +* Fri Jan 14 2022 daniel.wagner@suse.com +- 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 +* Thu Dec 9 2021 dimstar@opensuse.org +- 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. +* Fri Oct 15 2021 jsegitz@suse.com +- Drop ProtectClock hardening, can cause issues if other device acceess is needed +* Tue Oct 12 2021 jsegitz@suse.com +- Added hardening to systemd service(s) (bsc#1181400). Added patch(es): + * harden_nvmf-connect@.service.patch +* Wed Aug 18 2021 daniel.wagner@suse.com +- 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 +* Fri Jul 23 2021 daniel.wagner@suse.com +- Update copyright date +- Move bash-completion into subpackage to avoid zypper + recommanding bash-completion everytime. +* Fri Jul 2 2021 manfred99@gmx.ch +- install bash-completion file in correct directory +- recommend bash-completion +* Tue May 4 2021 daniel.wagner@suse.com +- 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 +* Fri Nov 13 2020 fbui@suse.com +- 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. +* Fri Oct 23 2020 daniel.wagner@suse.com +- 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 +* Sun Aug 16 2020 dmueller@suse.com +- 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 +* Mon Jan 27 2020 hare@suse.com +- 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' +* Thu Jan 16 2020 hare@suse.com +- 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 + * nvme-cli: Check for sysfs interface before NVMe discovery + * Revert "Add Dera plugin extension." + * Revert "Add Dera plugin extension." + * Add Dera plugin extension. Add stat sub-command to retrieve Dera device status and additional SMART log. + * Add Dera plugin extension. Add stat sub-command to retrieve Dera device status and additional SMART log. + * Improve self test log command + * nvme-cli: Update err to 0 in get_telemetry_log + * fixup up self-test log when no test is in progress + * nvme-cli: Update err value to 0 in get_ns_id func. + * Add Dera plugin extension. Add stat sub-command to retrieve Dera device status and additional SMART log. + * nvme.c: create-ns arguments are added +- Remove patch merged with upstream + * Delete 0101-nvme-add-iopolicy-rules-for-netapp.patch +* Tue Nov 19 2019 hare@suse.de +- Add libhugetlbfs to the list of build requirements +* Mon Nov 18 2019 hare@suse.com +- 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 + * fix namespace checks for legacy list + * Reset wdc_do_cap_dui default parameters to the proper values + * README.md: Mention the OpenEmbedded/Yocto recipe + * Intel plugin: Adding fields to id-ctrl VU region Per https://github.com/linux-nvme/nvme-cli/pull/584/commits/f33510efbf5192116e5757d13a02463d446a1dc5#r332178975 removing pack pragma on vu_id_ctrl_field struct. + * udev: convert the discovery event handler to the kernel support + * Use a systemd app-specific machine ID for hostnqn + * nvme-cli: Add 'transport type' error to the error log + * nvme-cli: Update nvme_endurance_group_log structure + * Adding fields to id-ctrl VU reigon for Intel DC drives + * Check return value of scandir + * nvme-cli: Add namespace-id option to self-test-log + * Report invalid output format for 'list' command + * Provide no-binary output format help text + * regen documentation + * Documentation: nvme-wdc-vs-fw-activate-history(1,html) generated + * nvme-cli/fabrics: Add tos param to connect cmd + * nvme.spec.in: fix rpm build error + * Correct self-test-log output + * nvme: Add 'Endurance Group Critical Warning Summary' to the Smart/Health information Log + * [NVMe-CLI] Documentation file for WDC vs-fw-activate-history command. + * [NVMe-CLI] Add new WDC plugin command vs-fw-activate-history. + * make: install-hostparams depends on install-etc + * MAINT: compile warning error on 32 bit system + * nvme-print: fix to print ctrltype when human-readable + * nvme: add Persistent Memory Region(PMR) Write Elasticity Status Registers + * [NVMe-CLI] Fix Potential Memory Leak with vs-internal-log command. + * regen docs + * fix admin-passthru documentation typo + * [NVMe-CLI] Fix empty file issue with vs-internal-log wdc plugin command + * nvme-cli: Fix namespace list output + * Fix builds for missing uuid + * Revert "remove LIBUUID things from nvme.h" + * Revert "nvme-cli: Fix compile on non-libuuid machines" + * Revert "fix uuid include typo" + * [NVMe-CLI] Fix offset parameter size for vs-internal-log wdc plugin command. + * remove LIBUUID things from nvme.h + * fix build error due to asprintf() + * id-ctrl: show Flush command behavior in VWC + * fix uuid include typo + * nvme-cli: Fix compile on non-libuuid machines + * [NVMe-CLI] Add updated documentation for additional parameters to specify file size in vs-internal-log command. + * Regen docs + * nvme-cli: Code cleanup + * nvme-cli: Macro'ify argument defines + * nvme-cli: Code reorg + * [NVMe-CLI] Add support to specify file size in get DUI data for SN340. + * Regenerate documentation + * nvme-cli: Make 'list' more useful + * id-ctrl: show Persistent Event Log support in LPA + * id-ctrl: show Persistent Event Log Size(PELS) + * id-ctrl: show Endurance Group Maximum ID(ENDGIDMAX) + * id-ctrl: show FRU Globally Unique Identifier(FGUID) + * id-ctrl: show Controller Type(CNTRLTYPE) + * id-ctrl: update id-ctrl header for 1.4 + * systemd: fix echo call with absolute path + * nvmf-autoconnect: fix absolute path for systemctl + * make: install udev rules in sysconfdir + * Add an example for attach-ns + * make: fix discovery.conf override + * fabrics: fix loop connect-all + * nvme: fix compilation error + * nvme-cli: Enhance format FNA detection + * nvme-cli: Warn and delay before formatting + * nvme-cli: prefill metadata buffers + * Fixed bash-nvme-completion.sh typo + * Tag release: v1.9 + * Regen docs + * nvme: UUIDs for Vendor-Specific Information + * nvme: add Persistent Memory Region (PMR) registers + * get-lba-status: add Get LBA Status command + * Added openSUSE Leap to README.md + * id-ctrl: add 1.4 features to OAES + * Update packaging state in Arch Linux + * Fix code block style in the first section + * nvme-cli: nvmf auto-connect scripts + * nvme-cli: add --quiet option + * nvme-cli: Expand --device argument processing + * nvme-cli: Add routine to search for controller with specific attributes + * nvme-cli: Add routine to compare ctrl_list_item to connect args + * nvme-cli: extend ctrl_list_item for connect attributes + * nvme-cli: Refactor to create a get_nvme_ctrl_info routine + * nvme-cli: allow discover to address discovery controller by persistent name + * nvme-cli: support persistent connections to a discovery controller + * nvme-cli: ignore arguments that pass in "none" + * nvme-print: show new CMBLOC bit fields added in NVMe 1.4 + * nvme: add support for Namespace Granularity + * nvme: sanitize enhancements + * nvme-cli: Update manpages to reflect discovery particulars + * nvme-cli: mask out invalid options during discovery + * nvme-cli: do not use 'queue_size' and 'nr_io_queues' for discovery controller + * nvme: Enhanced Command Retry + * id-ctrl: add an indicator for get lba status capability + * nvme: change format default namespace id + * lnvm: introduce alias geometry for id-ns for lnvm + * lnvm: introduce chunk-log command for chunk info + * lnvm: make data_len to sizeof() instead of magic number +- Add patches from SLE15: + * 0101-nvme-add-iopolicy-rules-for-netapp.patch + * 0102-nvme-cli-Add-script-to-determine-host-NQN.patch +- Drop patches merged with upstream: + * 0001-nvme_fc-auto-connect-scripts.patch + * 0002-71-nvme-iopolicy-netapp.rules-add-default-rules-for-.patch + * 0003-Add-nvmefc-connect.target.patch + * 0004-Change-service-to-type-simple.patch + * 0005-nvme-cli-Check-for-sysfs-interface-before-NVMe-disco.patch + * 0006-nvme-cli-add-default-IO-policy-rule-for-NetApp-E-Ser.patch + * 0007-nvme-cli-Rename-udev-rule-for-ONTAP-controller.patch + * 0008-nvme-cli-Add-script-to-determine-host-NQN.patch +* Fri Jul 26 2019 sschricker@suse.com +- Update to version 1.8.1+git135.9bab71e: + * various documentation improvements + * nvme-cli: Restore support for older gcc versions + * [NVMe-CLI] Add support for larger data sizes needed to get DUI data. + * [Log] Memblaze add more log infomation for S.M.A.R.T. + * nvme: add Verify command + * lnvm: do not print 0 when the arg is not given + * lnvm: remove redundant whitespace in lnvm_init() + * nvme: clean up goto labels without whitespace + * format: check BLKRRPART failure + * [NVMe-CLI] Add support for SN730 to WDC plugin commmands + * Add verbose capability to get DUI function to improve debug + * nvme-print: Show value for Transport SGL Data Block Descriptor support + * [NVMe-CLI] WDC: Add support for 64 bit data addresses in Get DUI Data functions + * nvme-cli: Fix more endianness issues + * nvme-print: add JSON for NVMe 1.4 NPWG, NPWA, NPDG, NPDA and NOWS fields + * fabrics: Return errno mapped for fabrics error status + * fabrics: return error when discovery retry exhausted + * nvme: Return errno mapped for nvme error status + * nvme-status: Introduce nvme status module to map errno + * nvme: Return negative error value for internal errors + * fabrics: Do not return in the middle of the subcommand + * nvme: Do not return in the middle of the subcommand + * nvme-cli: Report the NVMe 1.4 NPWG, NPWA, NPDG, NPDA and NOWS fields + * Introduce NVMe 1.4 Identify Namespace fields in struct nvme_id_ns + * nvme-cli: Skip properties that are not supported + * Fix various bugs related to endianness bugs + * NVMe-Cli Shannon Plugin-add support for shannon systems. + * nvme-print: fix json object memory leak + * fabrics: Fix memory leak of subsys list + * nvme: update description for "nvme list" command + * nvme: update list-ns nsid option + * nvme-print: add pretty print for estimated sanitize time + * add namespace to json output of nvme list + * add free call for json object for commands show-regs + * add newline for command show-regs + * nvme-cli: remove unnecessary initialize of local var + * nvme-cli: don't try to disconnect for ctrl with pcie transport + * Fix sprintf truncate +- Reorder install steps: Install systemd services first, since they + are required for the udev rules, avoiding a theoretical race + condition. +* Thu May 23 2019 sschricker@suse.com +- 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 +* Thu May 9 2019 sschricker@suse.com +- 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 + * wdc: Add data area extraction for DUI command + * wdc: Additional device capabilities check + * nvme-cli: fix fc trtype string + * NVMe-CLI WDC Plugin - add support for additional SN840 device ID. + * WDC plugin Change vs-internal-log Command to Save Partial E6 Log Data. + * WDC Plugins vs-internal-log command unsupported on SN340. + * Fix print format specifiers + * Fix format block size usage + * Add reporting of Virtual Management support to id-ctrl + * Fix possible NULL pointer dereferences + * Fix possible memory leak on get-internal-log + * Print timestamp as a date and time string + * nvme-cli: add netapp ontapdevices command + * Add FreeBSD installation instructions + * Adding a helper to format command + * fabrics: Return negative errno when asprintf() fails + * fabrics: Return negative errno to check remove_ctrl() is failed + * nvme: Support raw_binary and json format for show-regs + * ioctl: Free memory if get_property for fabrics failed + * nvme: Use ARRAY_SIZE() macro in common.h + * nvme: Unify min(), max() macro as a common one + * nvme: Simplify description for virt-mgmt + * nvme: Simplify virt-mgmt options to lowercase + * nvme-print: Fix evaluation of ctratt on pretty print + * nvme: print I/O error to stderr +- Drop obsolete patches: + - 0001-wdc-Change-device-capability-checking.patch + - 0002-wdc-Add-additional-device-for-vs-internal-log.patch + - 0003-generate-new-documentation.patch + - 0004-Fix-compilation-with-GCC-8.patch + - 0005-Fix-CFLAGS-parameter.patch + - 0006-nvme-cli-fix-compilation-with-uint64_t-cast.patch + - 0007-Regen-docs.patch + - 0008-nvme-cli-minor-cleanup-for-submit_io.patch + - 0009-Regen-documentation.patch + - 0010-nvme-cli-fix-fc-trtype-string.patch + - 0011-nvme-cli-add-netapp-ontapdevices-command.patch + - 0012-nvme-cli-add-netapp-ontapdevices-man-page.patch + - 0013-nvme-cli-Revert-stop-on-failure-with-connect-all.patch + - 0014-nvme-cli-Increase-size-of-ONTAP-namespace-path-varia.patch + - 0015-DOC-Move-to-DocBook-5-when-using-asciidoctor.patch + - 0104-nvme-cli-Fix-documentation-syntax-and-typo.patch +- Rename downstream patch: + + 0001-nvme_fc-auto-connect-scripts.patch + + 0002-71-nvme-iopolicy-netapp.rules-add-default-rules-for-.patch + + 0003-Add-nvmefc-connect.target.patch + + 0004-Change-service-to-type-simple.patch + + 0005-nvme-cli-Check-for-sysfs-interface-before-NVMe-disco.patch + - 0100-nvme_fc-auto-connect-scripts.patch + - 0101-71-nvme-iopolicy-netapp.rules-add-default-rules-for-.patch + - 0102-Add-nvmefc-connect.target.patch + - 0103-Change-service-to-type-simple.patch + - 0105-nvme-cli-Check-for-sysfs-interface-before-NVMe-disco.patch +* Wed May 8 2019 dimstar@opensuse.org +- No longer convert via obsolete DocBook 4.5 format, but rather via + DocBook 5.x. This due to asciidoctor 2.x no longer supporting + DocBook 4.x + + 0015-DOC-Move-to-DocBook-5-when-using-asciidoctor.patch +* Mon May 6 2019 sschricker@suse.com +- Increase size of ONTAP namespace path variable + + 0014-nvme-cli-Increase-size-of-ONTAP-namespace-path-varia.patch +- Fix failing service on devices without fc-hardware (bsc#1133594) + + 0105-nvme-cli-Check-for-sysfs-interface-before-NVMe-disco.patch +* Fri Apr 12 2019 sschricker@suse.com +- 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 +* Wed Mar 13 2019 sschricker@suse.com +- 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 +* Mon Feb 11 2019 hare@suse.de +- 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 +* Tue Jan 29 2019 tiwai@suse.de +- Build documents with asciidoctor (bsc#1075764) +* Mon Jan 28 2019 hare@suse.com +- 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 + * nvme-cli: use uniform error message for open + * nvme-cli: fix indentation + * nvme-cli: make wdc plug-in functions static + * nvme-cli: mark functions static + * nvme-cli: make malloc error handling uniform + * Enlarge local char[] so snprintf(3) can't truncate path. + * fabrics: make some arguments integers + * fabrics: don't fail empty discovery log page + * nvme: commonize subsystems info in a helper + * fabrics: add disconnect-all command + * Regen documentation + * attach-ns : fix segfault for ctrl list wrong input + * nvme-discover: Retry discovery log if the generation counter changes + * nvme-ioctl: retrieve log pages in 4k chunks + * nvme-discover: Re-check generation counter after log page transfer + * seagate-nvme: fixup coding style + * nvme-cli: Add 'rae' argument to nvme_get_log() + * nvme-cli: kill nvme_passthru_admin() + * nvme-cli: print "\n" after nvme list-subsys -o json + * nvme-cli: tests: fix fw_log test coding style + * nvme-cli: tests: fix id_ctrl test coding style + * nvme-cli: tests: fix id_ns test coding style + * nvme-cli: tests: Add get_id_ctrl function + * Update gitignore for generated test files + * Add PCI device id checking for the WDC plugin commands. + * Fix nvme test device selection to use controller value defined in the config.json file. Before this fix, the value was hard coded to nvme0. + * nvme-cli: prevent resv action field overflow + * nvme-cli: report subsystem-reset not supported by controller + * nvme-cli: fix indentation for dir_[send/receive] + * nvme-cli: make read error handling uniform + * Use sys/ioctl.h to pull in definitions. + * Remove unnecessary asm/byteorder.h + * Remove unnecessary linux/types.h include. + * Include libgen.h for basename prototype. + * Include sys/stat.h + * nvme-cli: remove endian.h + * We don't need to include linux/types.h here. + * Initialize line. + * Use standard interfaces to get timezone offsets. + * nvme-cli: fix ioctl argument + * nvme-cli: fix a typo + * Enable code block syntax highlight in README.md + * Makefile: fix bash completion install path + * NVMe-CLI WDC Plugin - Simplify the device id checking routines. + * nvme-cli: Add wdc-plugin command vs-internal-log and update wdc-plug cap-diag command with transfer-size parameter. + * nvme-cli: Add help text for wdc-plugin command vs-internal-log. Update help text for wdc-plugin command cap-diag. + * Update documentation + * nvme.spec.in : fix bash completion path, require + * nvme-cli wdc plugin: Add get pfail dump command. + * nvme-cli wdc plugin: Add documentation for pfail dump. + * Re-gen documentation for new files + * wdc: Fix strncpy warning + * Refactor plugins in a file hierarchy + * nvme-cli: fix sanitize status endianness + * nvme-cli: fix ana-log endianness + * wdc: Use const string for suffix + * nvme-cli:fix a typo in SELF-TEST log + * nvme-cli: fix a typo + * nvme-cli: fix array len to hold string of size 4 + * nvme-cli: fix endianness for the structure field + * nvme: Handle supported capabilities result for get features + * connect-all: special treatment to EALREADY afetr write to /dev/nvme-fabrics + * Added zsh completion installation + * nvme-cli: fix a typo + * nvme: fixup ANA group descriptor offset + * nvme: introduce get_nvme_ctrl_attr() + * nvme: print out controller state for 'list-subsys' + * nvme-list-subsys: Add device name argument and print out ANA state + * list-subsys: Preserve line breaks and spaces + * Regen documentation + * In json output, if the commands add zero length string, it occur allocation fail & abort (cannot display empty value) + * Fix printing of large ANAGRPID values + * micron-nvme: Replace direct use of ioctl + * Fix printing of large ANAGRPID values + * Fix typos in docs + * Fix typos in tests and utils + * fabrics: support fabrics sq flow control disable + * fabrics: use trtype_str when parsing a discovery log entry + * nvme: Add TCP transport + * fabrics: add tcp port tsas decoding + * fabrics: add transport header and data digest + * nvme-ioctl: clear rae for discovery log pages + * Added support for virtualization-management command + * nvme-cli: Don't print result on passthru error + * nvme-cli: readme: fix typo in Alpine distro support + * Added gentoo to README.md + * fabrics: pass in number of write queues + * fabrics: pass in number of polling queues + * Update documentation + * README: update Arch Linux install instructions + * fabrics: allow nr_io/write/poll_queues and queue size to discovery + * nvme: Adding a block size selector to format + * nvme: Regenerate documentation + * timeout option added to ns_create/delete (#440) + * nvme: Remove duplicate error message + * rpm spec file: add zsh completion (#447) + * nvme: Release 1.7 +- Drop obsolete patches: + - 0001-Use-tnvmcap-register-for-creating-namespace.patch + - 0002-don-t-execute-a-command-if-dry-run-is-supplied.patch + - 0003-Remove-trailing-n-so-that-the-output-is-valid-json.patch + - 0004-nvme-cli-remove-unnecessary-assignments.patch + - 0005-nvme-print.c-fix-ns-descs-JSON-output.patch + - 0006-nvme-cli-fix-typo-in-json_print_list_items.patch + - 0007-nvme-get-property-Add-documentation.patch + - 0008-fabrics-write-ctrl_loss_tmo-to-fabrics-device-on-con.patch + - 0009-fabrics-write-keep-alive-timeout-to-fabrics-device-o.patch + - 0010-nvme-models.c-search-for-pci.ids.patch + - 0011-nvme-cli-add-ns-write-protect-feature-support.patch + - 0012-nvme-cli-add-minimal-ana-log-page-support.patch + - 0013-nvme-cli-add-ana-log-documentation.patch + - 0014-Fix-print-format-specifier-for-64-bit.patch + - 0015-nvme-ana-log-fixup-compiler-warning-in-show_ana_log.patch + - 0016-nvme-vendor-fixup-c99-declaration-in-huawei-plugin.patch + - 0017-nvme-discover-sanitize-options.patch + - 0018-Fix-nvme-id-namespace-struct.patch + - 0019-nvme-cli-make-show_registers_cap-static.patch + - 0020-nvme-cli-wdc-plugin-mark-array-static-declaration.patch + - 0021-nvme-cli-fix-sparse-warnings-for-declaration.patch + - 0022-nvme-cli-don-t-use-unsigned-for-fd-in-lnvm-nvme.c.patch + - 0023-nvme-cli-remove-always-true-condition-for-u8.patch + - 0024-nvme-cli-fix-dead-code-nvmf-log-page-discovery.patch + - 0025-nvme-cli-code-cleanup-for-passthru-handlers.patch + - 0026-nvme-cli-fix-scaandir-return-value.patch + - 0027-nvme-cli-netapp-plugin-handle-empty-strings.patch + - 0028-nvme-cli-Fix-the-displayed-metadata-length-value-on-.patch + - 0029-nvme-list-fix-nvme-list-output-if-identify-failed-on.patch + - 0030-nvme-cli-use-uniform-error-message-for-open.patch + - 0031-nvme-cli-fix-indentation.patch + - 0032-nvme-cli-make-wdc-plug-in-functions-static.patch + - 0033-nvme-cli-mark-functions-static.patch + - 0034-nvme-cli-make-malloc-error-handling-uniform.patch + - 0035-Enlarge-local-char-so-snprintf-3-can-t-truncate-path.patch + - 0036-fabrics-make-some-arguments-integers.patch + - 0037-fabrics-don-t-fail-empty-discovery-log-page.patch + - 0038-nvme-commonize-subsystems-info-in-a-helper.patch + - 0039-fabrics-add-disconnect-all-command.patch + - 0040-Regen-documentation.patch + - 0041-attach-ns-fix-segfault-for-ctrl-list-wrong-input.patch + - 0042-nvme-discover-Retry-discovery-log-if-the-generation-.patch + - 0043-nvme-ioctl-retrieve-log-pages-in-4k-chunks.patch + - 0044-nvme-discover-Re-check-generation-counter-after-log-.patch + - 0045-seagate-nvme-fixup-coding-style.patch + - 0046-nvme-cli-Add-rae-argument-to-nvme_get_log.patch + - 0047-nvme-cli-kill-nvme_passthru_admin.patch + - 0048-nvme-cli-print-n-after-nvme-list-subsys-o-json.patch + - 0049-nvme-cli-tests-fix-fw_log-test-coding-style.patch + - 0050-nvme-cli-tests-fix-id_ctrl-test-coding-style.patch + - 0051-nvme-cli-tests-fix-id_ns-test-coding-style.patch + - 0052-nvme-cli-tests-Add-get_id_ctrl-function.patch + - 0054-Add-PCI-device-id-checking-for-the-WDC-plugin-comman.patch + - 0055-Fix-nvme-test-device-selection-to-use-controller-val.patch + - 0056-nvme-cli-prevent-resv-action-field-overflow.patch + - 0057-nvme-cli-report-subsystem-reset-not-supported-by-con.patch + - 0058-nvme-cli-fix-indentation-for-dir_-send-receive.patch + - 0059-nvme-cli-make-read-error-handling-uniform.patch + - 0060-Use-sys-ioctl.h-to-pull-in-definitions.patch + - 0061-Remove-unnecessary-asm-byteorder.h.patch + - 0062-Remove-unnecessary-linux-types.h-include.patch + - 0063-Include-libgen.h-for-basename-prototype.patch + - 0064-Include-sys-stat.h.patch + - 0065-nvme-cli-remove-endian.h.patch + - 0066-We-don-t-need-to-include-linux-types.h-here.patch + - 0067-Initialize-line.patch + - 0068-Use-standard-interfaces-to-get-timezone-offsets.patch + - 0069-nvme-cli-fix-ioctl-argument.patch + - 0070-nvme-cli-fix-a-typo.patch + - 0071-Enable-code-block-syntax-highlight-in-README.md.patch + - 0072-Makefile-fix-bash-completion-install-path.patch + - 0073-NVMe-CLI-WDC-Plugin-Simplify-the-device-id-checking-.patch + - 0074-nvme-cli-Add-wdc-plugin-command-vs-internal-log-and-.patch + - 0075-nvme-cli-Add-help-text-for-wdc-plugin-command-vs-int.patch + - 0076-Update-documentation.patch + - 0077-nvme.spec.in-fix-bash-completion-path-require.patch + - 0078-nvme-cli-wdc-plugin-Add-get-pfail-dump-command.patch + - 0079-nvme-cli-wdc-plugin-Add-documentation-for-pfail-dump.patch + - 0080-Re-gen-documentation-for-new-files.patch + - 0081-wdc-Fix-strncpy-warning.patch + - 0082-Refactor-plugins-in-a-file-hierarchy.patch + - 0083-nvme-cli-fix-sanitize-status-endianness.patch + - 0084-nvme-cli-fix-ana-log-endianness.patch + - 0085-wdc-Use-const-string-for-suffix.patch + - 0086-nvme-cli-fix-a-typo-in-SELF-TEST-log.patch + - 0087-nvme-cli-fix-a-typo.patch + - 0088-nvme-cli-fix-array-len-to-hold-string-of-size-4.patch + - 0089-nvme-cli-fix-endianness-for-the-structure-field.patch + - 0090-nvme-Handle-supported-capabilities-result-for-get-fe.patch + - 0091-connect-all-special-treatment-to-EALREADY-afetr-writ.patch + - 0092-Added-zsh-completion-installation.patch + - 0093-nvme-cli-fix-a-typo.patch + - 0094-nvme-fixup-ANA-group-descriptor-offset.patch + - 0095-nvme-introduce-get_nvme_ctrl_attr.patch + - 0096-nvme-print-out-controller-state-for-list-subsys.patch + - 0097-nvme-list-subsys-Add-device-name-argument-and-print-.patch + - 0098-list-subsys-Preserve-line-breaks-and-spaces.patch + - 0099-Regen-documentation.patch + - 0100-In-json-output-if-the-commands-add-zero-length-strin.patch + - 0101-Fix-printing-of-large-ANAGRPID-values.patch + - 0102-micron-nvme-Replace-direct-use-of-ioctl.patch + - 0104-Fix-typos-in-docs.patch + - 0105-Fix-typos-in-tests-and-utils.patch + - 0106-fabrics-support-fabrics-sq-flow-control-disable.patch + - 0107-fabrics-use-trtype_str-when-parsing-a-discovery-log-.patch + - 0108-nvme-Add-TCP-transport.patch + - 0109-fabrics-add-tcp-port-tsas-decoding.patch + - 0110-fabrics-add-transport-header-and-data-digest.patch + - 0111-nvme-ioctl-clear-rae-for-discovery-log-pages.patch + - 0112-Added-support-for-virtualization-management-command.patch + - 0113-nvme-cli-Don-t-print-result-on-passthru-error.patch + - 0114-nvme-cli-readme-fix-typo-in-Alpine-distro-support.patch + - 0115-Added-gentoo-to-README.md.patch + - 0116-fabrics-pass-in-number-of-write-queues.patch + - 0117-fabrics-pass-in-number-of-polling-queues.patch + - 0118-Update-documentation.patch + - 0119-README-update-Arch-Linux-install-instructions.patch + - 0120-fabrics-allow-nr_io-write-poll_queues-and-queue-size.patch + - 0121-nvme-Adding-a-block-size-selector-to-format.patch + - 0122-nvme-Regenerate-documentation.patch + - 0123-timeout-option-added-to-ns_create-delete-440.patch + - 0124-nvme-Remove-duplicate-error-message.patch +- Add patches from upstream git tree (FATE#326925) + + 0001-wdc-Change-device-capability-checking.patch + + 0002-wdc-Add-additional-device-for-vs-internal-log.patch + + 0003-generate-new-documentation.patch + + 0004-Fix-compilation-with-GCC-8.patch + + 0005-Fix-CFLAGS-parameter.patch + + 0006-nvme-cli-fix-compilation-with-uint64_t-cast.patch +- Add FC-NVMe autoconnect scripts (bsc#1103354) + + 0100-nvme_fc-auto-connect-scripts.patch +* Thu Jan 10 2019 hare@suse.de +- Use tnvmcap register for creating namespace (FATE#326925) + + 0001-Use-tnvmcap-register-for-creating-namespace.patch +- don't execute a command if --dry-run is supplied (FATE#326925) + + 0002-don-t-execute-a-command-if-dry-run-is-supplied.patch +- Remove trailing "\n" so that the output is valid json (FATE#326925) + + 0003-Remove-trailing-n-so-that-the-output-is-valid-json.patch +- nvme-cli: remove unnecessary assignments (FATE#326925) + + 0004-nvme-cli-remove-unnecessary-assignments.patch +- nvme-print.c : fix ns-descs JSON output (FATE#326925) + + 0005-nvme-print.c-fix-ns-descs-JSON-output.patch +- nvme-cli: fix typo in json_print_list_items (FATE#326925) + + 0006-nvme-cli-fix-typo-in-json_print_list_items.patch +- nvme-get-property : Add documentation (FATE#326925) + + 0007-nvme-get-property-Add-documentation.patch +- fabrics: write ctrl_loss_tmo to fabrics device on connect (FATE#326925) + + 0008-fabrics-write-ctrl_loss_tmo-to-fabrics-device-on-con.patch +- fabrics: write keep-alive-timeout to fabrics device on (FATE#326925) + + 0009-fabrics-write-keep-alive-timeout-to-fabrics-device-o.patch +- nvme-models.c - search for pci.ids (FATE#326925) + + 0010-nvme-models.c-search-for-pci.ids.patch +- nvme-cli add ns write protect feature support (FATE#326925) + + 0011-nvme-cli-add-ns-write-protect-feature-support.patch +- nvme-cli: add minimal ana-log page support (FATE#326925) + + 0012-nvme-cli-add-minimal-ana-log-page-support.patch +- nvme-cli: add ana-log documentation (FATE#326925) + + 0013-nvme-cli-add-ana-log-documentation.patch +- Fix print format specifier for 64-bit (FATE#326925) + + 0014-Fix-print-format-specifier-for-64-bit.patch +- nvme-ana-log: fixup compiler warning in show_ana_log() (FATE#326925) + + 0015-nvme-ana-log-fixup-compiler-warning-in-show_ana_log.patch +- nvme-vendor: fixup c99 declaration in huawei plugin (FATE#326925) + + 0016-nvme-vendor-fixup-c99-declaration-in-huawei-plugin.patch +- nvme-discover: sanitize options (FATE#326925) + + 0017-nvme-discover-sanitize-options.patch +- Fix nvme id namespace struct (FATE#326925) + + 0018-Fix-nvme-id-namespace-struct.patch +- nvme-cli: make show_registers_cap() static (FATE#326925) + + 0019-nvme-cli-make-show_registers_cap-static.patch +- nvme-cli: wdc-plugin mark array static declaration (FATE#326925) + + 0020-nvme-cli-wdc-plugin-mark-array-static-declaration.patch +- nvme-cli: fix sparse warnings for declaration (FATE#326925) + + 0021-nvme-cli-fix-sparse-warnings-for-declaration.patch +- nvme-cli: don't use unsigned for fd in lnvm-nvme.c (FATE#326925) + + 0022-nvme-cli-don-t-use-unsigned-for-fd-in-lnvm-nvme.c.patch +- nvme-cli: remove always true condition for u8 (FATE#326925) + + 0023-nvme-cli-remove-always-true-condition-for-u8.patch +- nvme-cli: fix dead-code nvmf log page discovery (FATE#326925) + + 0024-nvme-cli-fix-dead-code-nvmf-log-page-discovery.patch +- nvme-cli: code cleanup for passthru() handlers (FATE#326925) + + 0025-nvme-cli-code-cleanup-for-passthru-handlers.patch +- nvme-cli: fix scaandir() return value (FATE#326925) + + 0026-nvme-cli-fix-scaandir-return-value.patch +- nvme-cli: netapp plugin handle empty strings (FATE#326925) + + 0027-nvme-cli-netapp-plugin-handle-empty-strings.patch +- nvme-cli: Fix the displayed metadata length value on Big (FATE#326925) + + 0028-nvme-cli-Fix-the-displayed-metadata-length-value-on-.patch +- nvme list : fix nvme list output if identify failed on device (FATE#326925) + + 0029-nvme-list-fix-nvme-list-output-if-identify-failed-on.patch +- nvme-cli: use uniform error message for open (FATE#326925) + + 0030-nvme-cli-use-uniform-error-message-for-open.patch +- nvme-cli: use uniform error message for open (FATE#326925) + + 0030-nvme-cli-use-uniform-error-message-for-open.patch~ +- nvme-cli: fix indentation (FATE#326925) + + 0031-nvme-cli-fix-indentation.patch +- nvme-cli: make wdc plug-in functions static (FATE#326925) + + 0032-nvme-cli-make-wdc-plug-in-functions-static.patch +- nvme-cli: mark functions static (FATE#326925) + + 0033-nvme-cli-mark-functions-static.patch +- nvme-cli: make malloc error handling uniform (FATE#326925) + + 0034-nvme-cli-make-malloc-error-handling-uniform.patch +- Enlarge local char[] so snprintf(3) can't truncate path. (FATE#326925) + + 0035-Enlarge-local-char-so-snprintf-3-can-t-truncate-path.patch +- fabrics: make some arguments integers (FATE#326925) + + 0036-fabrics-make-some-arguments-integers.patch +- fabrics: don't fail empty discovery log page (FATE#326925) + + 0037-fabrics-don-t-fail-empty-discovery-log-page.patch +- nvme: commonize subsystems info in a helper (FATE#326925) + + 0038-nvme-commonize-subsystems-info-in-a-helper.patch +- fabrics: add disconnect-all command (FATE#326925) + + 0039-fabrics-add-disconnect-all-command.patch +- Regen documentation (FATE#326925) + + 0040-Regen-documentation.patch +- attach-ns : fix segfault for ctrl list wrong input (FATE#326925) + + 0041-attach-ns-fix-segfault-for-ctrl-list-wrong-input.patch +- nvme-discover: Retry discovery log if the generation counter (FATE#326925) + + 0042-nvme-discover-Retry-discovery-log-if-the-generation-.patch +- nvme-ioctl: retrieve log pages in 4k chunks (FATE#326925) + + 0043-nvme-ioctl-retrieve-log-pages-in-4k-chunks.patch +- nvme-discover: Re-check generation counter after log page (FATE#326925) + + 0044-nvme-discover-Re-check-generation-counter-after-log-.patch +- seagate-nvme: fixup coding style (FATE#326925) + + 0045-seagate-nvme-fixup-coding-style.patch +- nvme-cli: Add 'rae' argument to nvme_get_log() (FATE#326925) + + 0046-nvme-cli-Add-rae-argument-to-nvme_get_log.patch +- nvme-cli: kill nvme_passthru_admin() (FATE#326925) + + 0047-nvme-cli-kill-nvme_passthru_admin.patch +- nvme-cli: print "\n" after nvme list-subsys -o json (FATE#326925) + + 0048-nvme-cli-print-n-after-nvme-list-subsys-o-json.patch +- nvme-cli: tests: fix fw_log test coding style (FATE#326925) + + 0049-nvme-cli-tests-fix-fw_log-test-coding-style.patch +- nvme-cli: tests: fix id_ctrl test coding style (FATE#326925) + + 0050-nvme-cli-tests-fix-id_ctrl-test-coding-style.patch +- nvme-cli: tests: fix id_ns test coding style (FATE#326925) + + 0051-nvme-cli-tests-fix-id_ns-test-coding-style.patch +- nvme-cli: tests: Add get_id_ctrl function (FATE#326925) + + 0052-nvme-cli-tests-Add-get_id_ctrl-function.patch +- Add PCI device id checking for the WDC plugin commands. (FATE#326925) + + 0054-Add-PCI-device-id-checking-for-the-WDC-plugin-comman.patch +- Fix nvme test device selection to use controller value (FATE#326925) + + 0055-Fix-nvme-test-device-selection-to-use-controller-val.patch +- nvme-cli: prevent resv action field overflow (FATE#326925) + + 0056-nvme-cli-prevent-resv-action-field-overflow.patch +- nvme-cli: report subsystem-reset not supported by controller (FATE#326925) + + 0057-nvme-cli-report-subsystem-reset-not-supported-by-con.patch +- nvme-cli: fix indentation for dir_[send/receive] (FATE#326925) + + 0058-nvme-cli-fix-indentation-for-dir_-send-receive.patch +- nvme-cli: make read error handling uniform (FATE#326925) + + 0059-nvme-cli-make-read-error-handling-uniform.patch +- Use sys/ioctl.h to pull in definitions. (FATE#326925) + + 0060-Use-sys-ioctl.h-to-pull-in-definitions.patch +- Remove unnecessary asm/byteorder.h (FATE#326925) + + 0061-Remove-unnecessary-asm-byteorder.h.patch +- Remove unnecessary linux/types.h include. (FATE#326925) + + 0062-Remove-unnecessary-linux-types.h-include.patch +- Include libgen.h for basename prototype. (FATE#326925) + + 0063-Include-libgen.h-for-basename-prototype.patch +- Include sys/stat.h (FATE#326925) + + 0064-Include-sys-stat.h.patch +- nvme-cli: remove endian.h (FATE#326925) + + 0065-nvme-cli-remove-endian.h.patch +- We don't need to include linux/types.h here. (FATE#326925) + + 0066-We-don-t-need-to-include-linux-types.h-here.patch +- Initialize line. (FATE#326925) + + 0067-Initialize-line.patch +- Use standard interfaces to get timezone offsets. (FATE#326925) + + 0068-Use-standard-interfaces-to-get-timezone-offsets.patch +- nvme-cli: fix ioctl argument (FATE#326925) + + 0069-nvme-cli-fix-ioctl-argument.patch +- nvme-cli: fix a typo (FATE#326925) + + 0070-nvme-cli-fix-a-typo.patch +- Enable code block syntax highlight in README.md (FATE#326925) + + 0071-Enable-code-block-syntax-highlight-in-README.md.patch +- Makefile: fix bash completion install path (FATE#326925) + + 0072-Makefile-fix-bash-completion-install-path.patch +- NVMe-CLI WDC Plugin - Simplify the device id checking (FATE#326925) + + 0073-NVMe-CLI-WDC-Plugin-Simplify-the-device-id-checking-.patch +- nvme-cli: Add wdc-plugin command vs-internal-log and update (FATE#326925) + + 0074-nvme-cli-Add-wdc-plugin-command-vs-internal-log-and-.patch +- nvme-cli: Add help text for wdc-plugin command (FATE#326925) + + 0075-nvme-cli-Add-help-text-for-wdc-plugin-command-vs-int.patch +- Update documentation (FATE#326925) + + 0076-Update-documentation.patch +- nvme.spec.in : fix bash completion path, require (FATE#326925) + + 0077-nvme.spec.in-fix-bash-completion-path-require.patch +- nvme-cli wdc plugin: Add get pfail dump command. (FATE#326925) + + 0078-nvme-cli-wdc-plugin-Add-get-pfail-dump-command.patch +- nvme-cli wdc plugin: Add documentation for pfail dump. (FATE#326925) + + 0079-nvme-cli-wdc-plugin-Add-documentation-for-pfail-dump.patch +- Re-gen documentation for new files (FATE#326925) + + 0080-Re-gen-documentation-for-new-files.patch +- wdc: Fix strncpy warning (FATE#326925) + + 0081-wdc-Fix-strncpy-warning.patch +- Refactor plugins in a file hierarchy (FATE#326925) + + 0082-Refactor-plugins-in-a-file-hierarchy.patch +- nvme-cli: fix sanitize status endianness (FATE#326925) + + 0083-nvme-cli-fix-sanitize-status-endianness.patch +- nvme-cli: fix ana-log endianness (FATE#326925) + + 0084-nvme-cli-fix-ana-log-endianness.patch +- wdc: Use const string for suffix (FATE#326925) + + 0085-wdc-Use-const-string-for-suffix.patch +- nvme-cli:fix a typo in SELF-TEST log (FATE#326925) + + 0086-nvme-cli-fix-a-typo-in-SELF-TEST-log.patch +- nvme-cli: fix a typo (FATE#326925) + + 0087-nvme-cli-fix-a-typo.patch +- nvme-cli: fix array len to hold string of size 4 (FATE#326925) + + 0088-nvme-cli-fix-array-len-to-hold-string-of-size-4.patch +- nvme-cli: fix endianness for the structure field (FATE#326925) + + 0089-nvme-cli-fix-endianness-for-the-structure-field.patch +- nvme: Handle supported capabilities result for get features (FATE#326925) + + 0090-nvme-Handle-supported-capabilities-result-for-get-fe.patch +- connect-all: special treatment to EALREADY afetr write to (FATE#326925) + + 0091-connect-all-special-treatment-to-EALREADY-afetr-writ.patch +- Added zsh completion installation (FATE#326925) + + 0092-Added-zsh-completion-installation.patch +- nvme-cli: fix a typo (FATE#326925) + + 0093-nvme-cli-fix-a-typo.patch +- nvme: fixup ANA group descriptor offset (FATE#326925) + + 0094-nvme-fixup-ANA-group-descriptor-offset.patch +- nvme: introduce get_nvme_ctrl_attr() (FATE#326925) + + 0095-nvme-introduce-get_nvme_ctrl_attr.patch +- nvme: print out controller state for 'list-subsys' (FATE#326925) + + 0096-nvme-print-out-controller-state-for-list-subsys.patch +- nvme-list-subsys: Add device name argument and print out ANA (FATE#326925) + + 0097-nvme-list-subsys-Add-device-name-argument-and-print-.patch +- list-subsys: Preserve line breaks and spaces (FATE#326925) + + 0098-list-subsys-Preserve-line-breaks-and-spaces.patch +- Regen documentation (FATE#326925) + + 0099-Regen-documentation.patch +- In json output, if the commands add zero length string, it (FATE#326123) + + 0100-In-json-output-if-the-commands-add-zero-length-strin.patch +- Fix printing of large ANAGRPID values (FATE#326123) + + 0101-Fix-printing-of-large-ANAGRPID-values.patch +- micron-nvme: Replace direct use of ioctl (FATE#326123) + + 0102-micron-nvme-Replace-direct-use-of-ioctl.patch +- Fix printing of large ANAGRPID values (FATE#326123) + + 0103-Fix-printing-of-large-ANAGRPID-values.patch +- Fix typos in docs (FATE#326123) + + 0104-Fix-typos-in-docs.patch +- Fix typos in tests and utils (FATE#326123) + + 0105-Fix-typos-in-tests-and-utils.patch +- fabrics: support fabrics sq flow control disable (FATE#326123) + + 0106-fabrics-support-fabrics-sq-flow-control-disable.patch +- fabrics: use trtype_str when parsing a discovery log entry (FATE#326123) + + 0107-fabrics-use-trtype_str-when-parsing-a-discovery-log-.patch +- nvme: Add TCP transport (FATE#326123) + + 0108-nvme-Add-TCP-transport.patch +- fabrics: add tcp port tsas decoding (FATE#326123) + + 0109-fabrics-add-tcp-port-tsas-decoding.patch +- fabrics: add transport header and data digest (FATE#326123) + + 0110-fabrics-add-transport-header-and-data-digest.patch +- nvme-ioctl: clear rae for discovery log pages (FATE#326123) + + 0111-nvme-ioctl-clear-rae-for-discovery-log-pages.patch +- Added support for virtualization-management command (FATE#326123) + + 0112-Added-support-for-virtualization-management-command.patch +- nvme-cli: Don't print result on passthru error (FATE#326123) + + 0113-nvme-cli-Don-t-print-result-on-passthru-error.patch +- nvme-cli: readme: fix typo in Alpine distro support (FATE#326123) + + 0114-nvme-cli-readme-fix-typo-in-Alpine-distro-support.patch +- Added gentoo to README.md (FATE#326123) + + 0115-Added-gentoo-to-README.md.patch +- fabrics: pass in number of write queues (FATE#326123) + + 0116-fabrics-pass-in-number-of-write-queues.patch +- fabrics: pass in number of polling queues (FATE#326123) + + 0117-fabrics-pass-in-number-of-polling-queues.patch +- Update documentation (FATE#326123) + + 0118-Update-documentation.patch +- README: update Arch Linux install instructions (FATE#326123) + + 0119-README-update-Arch-Linux-install-instructions.patch +- fabrics: allow nr_io/write/poll_queues and queue size to (FATE#326123) + + 0120-fabrics-allow-nr_io-write-poll_queues-and-queue-size.patch +- nvme: Adding a block size selector to format (FATE#326123) + + 0121-nvme-Adding-a-block-size-selector-to-format.patch +- nvme: Regenerate documentation (FATE#326123) + + 0122-nvme-Regenerate-documentation.patch +- timeout option added to ns_create/delete (#440) (FATE#326123) + + 0123-timeout-option-added-to-ns_create-delete-440.patch +- nvme: Remove duplicate error message (FATE#326123) + + 0124-nvme-Remove-duplicate-error-message.patch +* Tue Oct 16 2018 jthumshirn@suse.com +- 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"" + * nvme-cli: fix compilation error + * Updatign the plugin version + * refactored some strings + * Removed Duplicate commands. + * Initial checkin for Seagate Plugin + * nvme-cli: update the document for id-nvmset subcommand + * nvme-cli: update new fields in id-ns subcommand + * nvme-cli: add support for id-nvmset subcommand + * Wrote man page for telemetry + * nvme-cli: Implemented Device self test and log. + * Add user parameter to specify data area region from telemetry log + * Regenerate man pages + * Documentation: allow to format with asciidoctor + * Documentation: fix title markers + * fabrics: add ctrl-loss-tmo to connect-all + * nvme-cli: Modify Get Features-Asynchronous Event Configuration + * Add open-channel 2.0 identify support + * nvme-cli: fix show command typo + * nvme-cli: Fix build breaks for GCC 8.1 Signed-off-by: Alexey Timofeyev + * Add nvme id-ns command test + * Add nvme id-ctrl command test + * Add nvme fw-log commmand test + * Add support for Micron plugin + * nvme-cli: fix get_nsid() return value check + * nvme-cli: allow block device for delete-ns + * nvme-cli: Add ioctl retry support for "connect-all" + * nvme-cli: Wait for device file if not present after successful add_ctrl + * nvme-cli: show partial results if controller fails during list and list-subsys + * fabrics: add option to supply keep-alive-timeout for connect-all + * nvme-cli: fix perror when blkdev not given when get-ns-id + * Fixes for log page access. + * nvme-cli: make it return 0 in case of non-fabric for show-regs + * Regenrate documentation + * Documentation: add manpage entry for connect's --ctrl-loss-tmo setting + * nvme-cli: fix leak in endurance_log command + * nvme-cli: fix seg_fault by cmd options in endurance_log + * Remove error print for telemetry log arg parse + * Fix intel media wear json output + * Use fixed-width integer types for long suffixed parameters + * Add toshiba plugin to makefile rules. + * Add toshiba plugin code and command documentation. + * nvme-cli: Add friendly status messages + * nvme-cli: correct spelling of discovery + * get-log: Make log identifier a required parameter + * nvme-cli: fabrics: Fix passing "host_traddr" for all transports + * Log error incase of failure in get_nvme_subsystem_info() + * Fix double free in list_subsys + * Fix parameter descriptions + * Add remaining fields from NVM Sets + * Don't print non-existent command line options + * Fixed a bug where cdw11 was being overwritten by cdw12 + * Regenerate documentation + * Add manpage for endurance log + * nvme-cli: fix typo in 'disconnect' docs + * Fix fabrics property commands + * Fix endianess in WDC plugin. + * Ignore cscope files + * Add read-recover level feature decoding + * Add support for NVMe Sets log page + * Add support for decoding IO Determinism features + * Add decoding for new controller attributes + * Update makefile dependencies + * nvme-cli: add netapp smdevices man page + * nvme-cli: add NetApp plugin + * Fix freeing wrong address + * nvme-cli: make it use NVME_IDENTIFY_DATA_SIZE + * nvme-cli: adjust json print according to uint format + * nvme-cli: add helper for sanitize command + * nvme-cli: telemetry-log add controller initiated log gathering + * flush: Use device NSID if issuing through block device + * NVMe-CLI Fix fw_log Command json output + * nvme-cli: fix typo in Intel SMART json output + * nvme-cli: update documentations to sync up with subcommands + * nvme-cli: convert iekey into a no_argument parameter + * nvme-cli: make return negative value in nvme_get_nsid() when not blkdev + * nvme-cli: move print-function to nvme-print + * nvme-cli: fix leaks in subcommands + * nvme-cli: add print for command name to effects-log + * nvme-cli: make it have bpid in cdw10 for fw-commit + * nvme-cli: add command specific field to json output of error-log + * nvme-cli: Fixed incosistency of error handling in intel plugin Signed-off-by: Oleksii Timofieiev + * Use '-' for compounded word telemetry-log subcommand + * Use NSID all for error log + * nvme-cli: Implement nvme_get_log13 + * nvme-cli: handle long commands in help message by adjusting minimal padding Signed-off-by: Oleksii Timofieiev + * nvme-cli: wdc: Removed superfluous output in WDC plugin + * NVMe-CLI WDC-Plugin Update drive essentials code with review comments. + * nvme-cli: Add support of unsigned long long to json routines Signed-off-by: Oleksii Timofieiev + * NVMe-CLI WDC-Plugin Add clear-pcie-corr documentation. + * NVMe-CLI WDC-Plugin Add clear-pcie-corr command + * NVMe-CLI WDC-Plugin Add drive-essentials documentation + * NVMe-CLI WDC-Plugin Add drive-essentials command + * nvme-cli: memblaze: add error return after parse_and_open() + * nvme-cli: memblaze: fix memory leak in memblaze-nvme.c + * nvme-cli: Implement get_telemetry_log from 1.3 spec + * nvme/vendor: Add get log LSP/LSO fields from 1.3 spec + * nvme-cli: lnvm: Make it return error status when argconfig_parse fails + * nvme-cli: fix memory leak in passthru() + * nvme-cli: wdc: fix mismatch in document for smart-add-log + * nvme-cli: wdc: add const to descriptions + * nvme-cli: fix memory leak in dir_receive() + * nvme-cli: fix memory leak in sec_recv() + * nvme-cli: fix memory leak in dir_send() + * nvme-cli: fix memory leak in sec_send() + * nvme-cli: fix memory leak in set_feature() + * nvme-cli: fix memory leak in fw_download() + * nvme-cli: fix memory leak in ns_descs() + * nvme-cli: fix memory leak in list_ctrl() + * nvme-cli: add error handling for a failure of malloc + * nvme-cli: tests: fix typo in get_feature_test + * nvme-cli: tests: remove nsid parameter in a testcase of error-log + * nvme-cli: update documentation of effects-log + * nvme-cli: add support for options to effects-log subcommand + * nvme-cli: intel: add const to descriptions of subcommand option + * nvme-cli: intel: add check for fd after open to intel commands + * nvme-cli: intel: fix smart-log-add documentation + * lightnvm: enable to set OP on target creation + * nvme-cli: intel: update smart-log-add command documentation + * nvme-cli: update error-log documentation + * nvme-cli: lnvm: add human-readable print format to ns-id subcommand + * nvme-cli: lnvm: add check for fd after open operation + * nvme-cli: lnvm: remove unnecessary force parameter of ns-id in lnvm + * nvme-cli: lnvm: add whitespace between words in a description + * nvme-cli: add BPS bit field to CAP controller register + * Update subcommand alias description in README.md + * nvme-cli: add support for json output format of sanitize-log command + * nvme-cli: Remove unnecessary nsid field in error-log + * nvme-cli: add print for command specific info field of error log page + * nvme-cli: update print for sanitize-log command with output-format + * nvme-cli: make sanitize description const + * Fix verbose decoding for coalescing aggregation time + * Allow hierarchy of similiarly named plugins + Drop: + - 0001-nvme-cli-add-NetApp-plugin.patch + - 0002-nvme-cli-add-netapp-smdevices-man-page.patch + - 0003-get-log-Make-log-identifier-a-required-parameter.patch + - 0004-Documentation-add-manpage-entry-for-connect-s-ctrl-l.patch + - 0005-fabrics-add-option-to-supply-keep-alive-timeout-for.patch + - 0006-fabrics-add-ctrl-loss-tmo-to-connect-all.patch + - 0007-nvme-vendor-Add-get-log-LSP-LSO-fields-from-1.3-spec.patch + - 0008-nvme-cli-Implement-nvme_get_log13.patch + - 0009-nvme-cli-Add-support-of-unsigned-long-long-to-json-r.patch + - 0010-nvme-cli-add-support-of-RAE.patch + - 0011-nvme-cli-add-minimal-ana-log-page-support.patch + - 0012-nvme-cli-add-ana-log-documentation.patch + - 0013-nvme-discover-sanitize-options.patch + - 0014-Fix-double-free-in-list_subsys.patch + - 0015-Log-error-incase-of-failure-in-get_nvme_subsystem_in.patch + - 0016-nvme-cli-move-print-function-to-nvme-print.patch + - 0017-nvme-cli-show-partial-results-if-controller-fails-du.patch + - 0018-nvme-list-subsys-Add-device-name-argument-and-print-.patch + - 0019-nvme-discover-Retry-discovery-log-if-the-generation-.patch + - 0020-nvme-cli-fabrics-Fix-passing-host_traddr-for-all-tra.patch + - 0021-fabrics-write-ctrl_loss_tmo-to-fabrics-device-on-con.patch + - 0022-fabrics-write-keep-alive-timeout-to-fabrics-device-o.patch +* Fri Aug 10 2018 hare@suse.de +- nvme-discover: Retry discovery log if the generation counter changes + (bsc#1087848) + + 0019-nvme-discover-Retry-discovery-log-if-the-generation-.patch +- nvme-fabrics: Fix passing "host_traddr" for all transports (bsc#1084379) + + 0020-nvme-cli-fabrics-Fix-passing-host_traddr-for-all-tra.patch +- fabrics: write ctrl_loss_tmo to fabrics device on connect (bsc#1084379) + + 0021-fabrics-write-ctrl_loss_tmo-to-fabrics-device-on-con.patch +- fabrics: write keep-alive-timeout to fabrics device on connect (bsc#1090568) + + 0022-fabrics-write-keep-alive-timeout-to-fabrics-device-o.patch +* Tue Aug 7 2018 hare@suse.de +- nvme-vendor: Add get_log LSP & LSO fields from 1.3 spec + (bsc#1099018) + + 0007-nvme-vendor-Add-get-log-LSP-LSO-fields-from-1.3-spec.patch +- nvme-cli: Implement nvme_get_log13 (bsc#1099018) + + 0008-nvme-cli-Implement-nvme_get_log13.patch +- nvme-cli: Add support of unsigned long long to json (bsc#1099018) + + 0009-nvme-cli-Add-support-of-unsigned-long-long-to-json-r.patch +- nvme-cli: add support of RAE (bsc#1099018) + + 0010-nvme-cli-add-support-of-RAE.patch +- nvme-cli: add minimal ana-log page support (bsc#1099018) + + 0011-nvme-cli-add-minimal-ana-log-page-support.patch +- nvme-cli: add ana_log documentation (bsc#1099018) + + 0012-nvme-cli-add-ana-log-documentation.patch +- nvme-discover: sanitize options + + 0013-nvme-discover-sanitize-options.patch +- Fix double free in list_subsys + + 0014-Fix-double-free-in-list_subsys.patch (bsc#1099018) +- Log error in case of failure in get_nvme_subsystem (bsc#1099018) + + 0015-Log-error-incase-of-failure-in-get_nvme_subsystem_in.patch +- nvme-cli: move print function to nvme-print.c (bsc#1099018) + + 0016-nvme-cli-move-print-function-to-nvme-print.patch +- nvme-cli: show partial results if controller fails (bsc#1099018) + + 0017-nvme-cli-show-partial-results-if-controller-fails-du.patch +- nvme-list-subsys: Add device name argument and print ANA state + (bsc#1099018) + + 0018-nvme-list-subsys-Add-device-name-argument-and-print-.patch +* Thu Jun 7 2018 jthumshirn@suse.com +- Add ctrl-loss-tmo to connect-all command (bsc#1084379) + + 0006-fabrics-add-ctrl-loss-tmo-to-connect-all.patch +* Wed May 2 2018 jthumshirn@suse.com +- Add keep-alive-tmo option to connect-all command (bsc#1090568) + + 0005-fabrics-add-option-to-supply-keep-alive-timeout-for.patch +* Thu Apr 12 2018 jthumshirn@suse.com +- Add ctrl-loss-tmo option to fabrics connect manpage (bsc#1084379) + + 0004-Documentation-add-manpage-entry-for-connect-s-ctrl-l.patch +* Wed Apr 4 2018 jthumshirn@suse.com +- Make log identifier a required parameter (bsc#1086240) + + 0003-get-log-Make-log-identifier-a-required-parameter.patch +* Tue Feb 13 2018 jthumshirn@suse.com +- Add NetApp vendor plugin (bsc#1080672) + + 0001-nvme-cli-add-NetApp-plugin.patch + + 0002-nvme-cli-add-netapp-smdevices-man-page.patch +* Wed Jan 10 2018 jthumshirn@suse.com +- 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 + * nvme-cli: resync nvme.h with the kernel's + * NVMe-CLI : WDC-Plugin Updated Smart Log Command + * NVMe-CLI : WDC-Plugin Documentation for Updated Smart Log Command + * Regenerate documentation + * nvme-cli: update show_registers_cc() to use nvme.h + * nvme-cli: replace values of all namespaces with NVME_NSID_ALL + * nvme-cli: add prints for new HMB identify fields of TP 4002 + * Update get-feature help text + * Improve code alignment on intel plugin + * Update intel internal log man page. + * nvme-cli/intel: Return if arg parsing returns error + * nvme: add options for write command directives + * Update documentation + * Updated the human readable printing for the SGLS field in the id-ctrl command to be compliant with NVMe 1.3 + * nvme: Introduce new 'list-subsys' command + * nvme-cli: add support to get properties for NVMe over Fabric + * nvme-cli: support to set the property for NVMe over Fabric + * Reorder command list + * Documentation fixes + * nvme-cli: add support alias command with Firmware Activate + * nvme-cli: update Firmware Commit with boot partition feature + * nvme-cli: add command specific status of Firmware Commit + * Update documentation to use aliases + * nvme-cli: add prints of boot partition feature to show-regs + * nvme-cli: Fix small mem leak. + * Release v1.5 +* Thu Dec 14 2017 jthumshirn@suse.com +- Add list-subs subcommand (bsc#1072813) + + 0001-nvme-Introduce-new-list-subsys-command.patch +* Tue Oct 24 2017 jengelh@inai.de +- Update descriptions. +* Wed Oct 18 2017 jthumshirn@suse.com +- 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 + * nvme-cli: Get Feature support for Extended Host Id + * nvme-cli: Fix typo in Intel plugin and improve generic help text + * Implement Intel Vendor specific logs + * nvme-cli: add thermal management fields for smart-log + * nvme-cli: add temperature sensor fields in json_smart_log + * nvme-cli: add output-format discription for smart-log + * Formatting update + * Regenerate documentation + * nvme-cli: add error message for nvme list. + * Fix typo of flbas in nvme_create_max_ns_test + * Show help for get-ns-id + * Show help for nvme reset and subsystem-reset + * nvme-cli: Extended Data Structure in resv-report + * Update docs + * resync nvme.h with the kernel nvme.h + * nvme-cli : add support for sanitize command. + * nvme-cli : add sanitize command documentation. + * nvme-cli : add support for retrieving sanitize log. + * nvme-cli : add sanitize-log command documentation. + * fix build without libuuid + * nvme-cli : wdc-plug-in : return on invalid input device. + * nvme-cli : only print help text and return for nvme list -h option. + * nvme-cli/list-ns: fix identifying active or allocated namespaces list + * Fixed get_internal_log to parse the entire nlog and allow selection of specific regions to be parsed. + * NVMe-CLI Fix Sanitize Command Parameter Types + * Fix app tag and mask setting + * Fix app tag field sizes + * nvme-cli/list: fix when nvme device can not be open + * nvme-cli/list: change fd returned by open operation from unsigned to signed. + * Makefile: allow linker override for cross uuid test + * nvme-cli: fix connecting failure due to invalid uuid format of hostid + * nvme-cli/fabrics: Add ctrl-loss-tmo param to connect cmd + * Fixing macro definitions to avoid issues when these are used in expressions + * nvme-cli: add nvme directive command support + * nvme-cli: add documentation for directive commands + * fix for issue 219, show-regs reports AQA.ACQS and AQA.ASQS as bytes + * nvme-cli: Fix nvme ns desc + * new bit fields (6, 7, and 8) for OACS from NVMe rev 1.3 + * added new bit field (6) to ONCS from NVMe rev 1.3 + * nvme-cli: Describe action 3 of nvme activate + * nvme-cli: generate spec-compliant UUID NQNs + * NVMe-CLI Fixed Status Code check for reset type on fw-activate. + * Added handling for temperature threshold values below 0C(273K) and removed buffer check for human readable output as Temperature threshold feature does not use Memory Buffer for Attributes + * Update nvme.c + * nvme-cli : Add Namespace Rescan Command + * nvme-cli : Add man documentation files for ns-rescan command. + * Version 1.4 Release + * Drop upstream patches: + - 0001-fabrics-add-option-to-override-drivers-queue-depth.patch + - 0002-fabrics-add-option-to-override-drivers-queue-depth-a.patch + - add-missing-nvme_id_crtl-fileds.patch + - 0003-nvme-cli-show-more-fields-for-id-ctrl.patch + - 0004-nvme-cli-id-ctrl-display-additional-fields.patch + - 0005-nvme-cli-add-ns-descs-subcommand.patch + - 0006-fabrics-add-hostid-option-to-connect-command.patch + - 0007-nvme-cli-fix-connecting-failure-due-to-invalid-uuid-format.patch + - 0008-nvme-cli-generate-spec-compliant-uuid-nqns.patch +* Tue Oct 17 2017 jthumshirn@suse.com +- allow override queue depth and nr io queues on connect-all (bsc#1063462) + + 0009-fabrics-also-set-queue_size-and-nr_io_queues-on-conn.patch +* Thu Sep 7 2017 jthumshirn@suse.com +- Generate Spec compliant UUID NQNs (bsc#1057498) + + 0008-nvme-cli-generate-spec-compliant-uuid-nqns.patch +* Thu Aug 31 2017 jthumshirn@suse.com +- Fix hostid parsing (bsc#1049272) + + 0007-nvme-cli-fix-connecting-failure-due-to-invalid-uuid-format.patch +* Fri Jun 30 2017 jthumshirn@suse.com +- Add hostid option to connect command (bsc#1045293) + + 0006-fabrics-add-hostid-option-to-connect-command.patch +* Mon Jun 26 2017 jthumshirn@suse.com +- Create nvme files and directories in /etc/nvme (bsc#1045931 ) +* Mon Jun 26 2017 jthumshirn@suse.com +- Provide nvme ns-descs subcommand (bsc#1038235) + + 0005-nvme-cli-add-ns-descs-subcommand.patch +* Fri Jun 16 2017 jthumshirn@suse.com +- Also re-build documentation on each build (bsc#1037297) +* Wed Jun 14 2017 jthumshirn@suse.com +- Add NVMe over Fabrics specific id-ctrl fields (bsc#1037293) + + add-missing-nvme_id_crtl-fileds.patch + + 0003-nvme-cli-show-more-fields-for-id-ctrl.patch + + 0004-nvme-cli-id-ctrl-display-additional-fields.patch +* Fri May 12 2017 jthumshirn@suse.com +- Add possibility to change queue depth at connect time (bsc#1037297) + + 0001-fabrics-add-option-to-override-drivers-queue-depth.patch + + 0002-fabrics-add-option-to-override-drivers-queue-depth-a.patch +* Mon Apr 24 2017 jthumshirn@suse.com +- 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. + * : Correct NVMF enum values to match NVMe-oF rev 1.0 + * fabrics: Handle space-padded TRSVCID and TRADDR fields + * nvme-cli: bug-fix: use right file name for perror. + * move show_intel_smart_log to intel-nvme.c + * remove json_add_smart_log + * remove nvme_intel_smart_log + * move struct nvme_additional_smart_log to intel-nvme.c + * nvme-cli/format: use existing LBAF if none requested + * nvme-cli: Release v1.2 +* Thu Mar 2 2017 jthumshirn@suse.com +- Update to upstream release v1.1 (FATE#322735) + * This fixes multiple compiler warnings for 32-bit and other environments + from v1.0, adds more documentation to fabrics, removes the libudev + dependency entirely from this project, adds a framework for unit testing + devices, and fixes usage for user defined install paths +* Thu Sep 15 2016 jthumshirn@suse.com +- Update to upstream release v0.9 + - Remove merged remove-version-from-list.patch + * New extensions, fabrics support, a bug fixes. The 'list' command + is liberated from its udev dependency, and no longer requires + CONFIG_IO_STRICT_DEVMEM be disabled. +* Wed Aug 31 2016 jthumshirn@suse.com +- Don't map controller registers in 'list' command (boo#986891) + + remove-version-from-list.patch +* Tue Aug 9 2016 jthumshirn@suse.com +- 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. +* Wed Jun 1 2016 jthumshirn@suse.com +- Update to upstream release v0.7 + + 0001-bash-completion-Remove-shebang-line.patch + 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. +* Wed Apr 13 2016 jthumshirn@suse.com +- Exclude build on s390x (FATE#319560) +* Fri Mar 18 2016 jthumshirn@suse.com +- Update to upstream release v0.5 + The v0.4 breakage should all be resolved now. Tagging release + v0.5, and back to stability. +* Wed Mar 2 2016 jthumshirn@suse.com +- Update to upstream release v0.4 +* Mon Feb 15 2016 jthumshirn@suse.com +- Fix display of version number (boo#966740) +* Thu Feb 11 2016 jthumshirn@suse.com +- Initial packaging for openSUSE diff --git a/nvme-cli.spec b/nvme-cli.spec new file mode 100644 index 0000000..47149e4 --- /dev/null +++ b/nvme-cli.spec @@ -0,0 +1,174 @@ +# +# spec file for package nvme-cli +# +# Copyright (c) 2022-2023 ZhuningOS +# + +%bcond_without check + +Name: nvme-cli +Version: 2.4+31.gf7ec09 +Release: 150500.4.12.1 +Summary: NVM Express user space tools +License: GPL-2.0-only +Group: Hardware/Other +URL: https://github.com/linux-nvme/nvme-cli/ +Source0: nvme-cli-%{version}.tar.gz +Source1: nvme-cli-rpmlintrc +BuildRequires: gcc +BuildRequires: gcc-c++ +BuildRequires: libhugetlbfs-devel +BuildRequires: libjson-c-devel +BuildRequires: libnvme-devel +BuildRequires: meson +BuildRequires: pkgconfig +BuildRequires: xmlto +BuildRequires: asciidoc +BuildRequires: zlib-devel +BuildRequires: pkgconfig(bash-completion) +BuildRequires: pkgconfig(libudev) +# nvme-cli API for NBFT support. +Provides: nvmeof-boot-support = 0.1 + +%systemd_ordering + +%description +NVM Express (NVMe) is a direct attached storage interface. The +nvme-cli package contains core management tools with minimal +dependencies. + +%package -n nvme-cli-regress-script +Summary: A small script to test the nvme binary for regressions +Group: Hardware/Other +Requires: nvme-cli +BuildArch: noarch + +%description -n nvme-cli-regress-script +A small shell script to test the nvme binary for regressions. It requires an +NVMe device for testing purposes. Do NOT use in a production environment. + +%package bash-completion +Summary: NVM Express user space tools bash completion +Group: System/Shells +Requires: %{name} = %{version} +Requires: bash-completion +Supplements: (nvme-cli and bash-completion) +BuildArch: noarch + +%description bash-completion +Optional dependency offering bash completion for NVM Express user space tools + +%package zsh-completion +Summary: NVM Express user space tools zsh completion +Group: System/Shells +Requires: %{name} = %{version} +Requires: zsh +Supplements: (nvme-cli and zsh) +BuildArch: noarch + +%description zsh-completion +Optional dependency offering zsh completion for NVM Express user space tools + +%prep +%autosetup -p1 + +%build +export KBUILD_BUILD_TIMESTAMP=@${SOURCE_DATE_EPOCH:-$(date +%s)} +%meson \ + -Dudevrulesdir=%{_udevrulesdir} \ + -Ddracutrulesdir=%{_sysconfdir}/dracut/dracut.conf.d \ + -Dsystemddir=%{_unitdir} \ + -Ddocs=man \ + -Ddocs-build=true \ + -Dsystemctl=%{_bindir}/systemctl \ + -Dversion-tag=%{version} +%meson_build + +%if %{with check} +%check +%meson_test +%endif + +%install +%meson_install +install -m 644 -D /dev/null %{buildroot}%{_sysconfdir}/nvme/hostnqn +install -m 644 -D /dev/null %{buildroot}%{_sysconfdir}/nvme/hostid +install -m 644 -D /dev/null %{buildroot}%{_sysconfdir}/nvme/discovery.conf +rm %{buildroot}%{_sysconfdir}/dracut/dracut.conf.d/70-nvmf-autoconnect.conf + +# for subpackage nvme-cli-regress-script: +install -m 744 -D regress %{buildroot}%{_sbindir}/nvme-regress + +mkdir -p %{buildroot}%{_sbindir} +pushd %{buildroot}%{_sbindir} +ln -s service rcnvmefc-boot-connections +ln -s service rcnvmf-autoconnect +ln -s service rcnvmf-connect +popd + +%define services nvmefc-boot-connections.service nvmf-connect.target nvmf-autoconnect.service nvmf-connect-nbft.service + +%pre +%service_add_pre %{services} nvmf-connect@.service + +%post +if [ ! -s %{_sysconfdir}/nvme/hostnqn ]; then + %{_bindir}/echo "Generating host NQN." + %{_sbindir}/nvme gen-hostnqn > %{_sysconfdir}/nvme/hostnqn +fi +if [ ! -s %{_sysconfdir}/nvme/hostid ]; then + sed -nr 's/.*:uuid:(.*?)$/\1/p' %{_sysconfdir}/nvme/hostnqn > %{_sysconfdir}/nvme/hostid +fi +%service_add_post %{services} nvmf-connect@.service + +%preun +%service_del_preun %{services} + +%postun +%service_del_postun %{services} + +%posttrans +if [ -f /sys/class/fc/fc_udev_device/nvme_discovery ]; then + %{_bindir}/echo add > /sys/class/fc/fc_udev_device/nvme_discovery +fi + +%pre -n nvme-cli-bash-completion +if [ -d %{_datadir}/bash-completion/completions/nvme ]; then + rm -r %{_datadir}/bash-completion/completions/nvme; +fi + +%files +%license LICENSE +%doc README.md +%{_sbindir}/nvme +%{_sbindir}/rcnvmefc-boot-connections +%{_sbindir}/rcnvmf-autoconnect +%{_sbindir}/rcnvmf-connect +%{_mandir}/man1/nvme*.1*%{?ext_man} +%{_udevrulesdir}/65-persistent-net-nbft.rules +%{_udevrulesdir}/70-nvmf-autoconnect.rules +%{_udevrulesdir}/71-nvmf-netapp.rules +%{_unitdir}/nvmefc-boot-connections.service +%{_unitdir}/nvmf-autoconnect.service +%{_unitdir}/nvmf-connect-nbft.service +%{_unitdir}/nvmf-connect.target +%{_unitdir}/nvmf-connect@.service +%dir %{_sysconfdir}/nvme/ +%ghost %{_sysconfdir}/nvme/hostnqn +%ghost %{_sysconfdir}/nvme/hostid +%ghost %{_sysconfdir}/nvme/discovery.conf + +%files -n nvme-cli-regress-script +%{_sbindir}/nvme-regress + +%files bash-completion +%dir %{_datadir}/bash-completion +%dir %{_datadir}/bash-completion/completions +%{_datadir}/bash-completion/completions/nvme + +%files zsh-completion +%dir %{_datadir}/zsh +%dir %{_datadir}/zsh/site-functions +%{_datadir}/zsh/site-functions/_nvme + +%changelog