From 1265d089654658bd1a927533a2909c648c000302916f65f063565f6f1763d085 Mon Sep 17 00:00:00 2001 From: Dominique Leuenberger Date: Wed, 19 Jan 2022 23:12:13 +0000 Subject: [PATCH 01/26] Accepting request 947390 from Base:System OBS-URL: https://build.opensuse.org/request/show/947390 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libnvme?expand=0&rev=1 --- _service | 9 +- _servicedata | 2 +- libnvme-1.0~0.obscpio | 3 + libnvme-1.7.1+0.g13ba383.obscpio | 3 - libnvme.changes | 473 ------------------------------- libnvme.obsinfo | 6 +- libnvme.spec | 57 +--- 7 files changed, 28 insertions(+), 525 deletions(-) create mode 100644 libnvme-1.0~0.obscpio delete mode 100644 libnvme-1.7.1+0.g13ba383.obscpio diff --git a/_service b/_service index 5110f3a..0347bf6 100644 --- a/_service +++ b/_service @@ -3,9 +3,12 @@ git https://github.com/linux-nvme/libnvme.git libnvme - @PARENT_TAG@+@TAG_OFFSET@.g%h - 13ba383 - v(.*) + + @PARENT_TAG@ + v1.0-rc0 + v[01].[0-9]* + v([^+]*)-rc([0-9]+) + \1~\2 enable diff --git a/_servicedata b/_servicedata index 237a9a0..441bb33 100644 --- a/_servicedata +++ b/_servicedata @@ -1,6 +1,6 @@ https://github.com/linux-nvme/libnvme.git - 13ba38387e5446849ae59d3ccd8183cf9aca3145 + f6cc9487ef8e272ac1dbb61a1df87585df2d2eb3 \ No newline at end of file diff --git a/libnvme-1.0~0.obscpio b/libnvme-1.0~0.obscpio new file mode 100644 index 0000000..9d71691 --- /dev/null +++ b/libnvme-1.0~0.obscpio @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9a41998519ebfacd336f593932187f9b8d6f3cce77e865c665a895ae280f7930 +size 1347084 diff --git a/libnvme-1.7.1+0.g13ba383.obscpio b/libnvme-1.7.1+0.g13ba383.obscpio deleted file mode 100644 index 643b0e9..0000000 --- a/libnvme-1.7.1+0.g13ba383.obscpio +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:543497ebda2a823c3b6bf537343c6aacadab7d33daf8a00d59f48ef9ed277171 -size 3076108 diff --git a/libnvme.changes b/libnvme.changes index 5ba84f7..3b849e0 100644 --- a/libnvme.changes +++ b/libnvme.changes @@ -1,476 +1,3 @@ -------------------------------------------------------------------- -Wed Dec 20 10:10:56 UTC 2023 - Daniel Wagner - -- Update to version 1.7.1+0.g13ba383: - * tree: do no free ns on error in nvme_ns_init - -------------------------------------------------------------------- -Tue Dec 19 13:26:50 UTC 2023 - Daniel Wagner - -- Update to version 1.7+0.gf38b1d7: - * tree: do not open blk device on default - * tree: read all attributes from sysfs when available - * ioctl: set data length when retrieving LBA status - * types: fix regression for vendor-specific field in nvme_id_ns - * util: use cleanup functions - * linux: use cleanup functions - * json: use cleanup functions - * fabrics: use cleanup functions - * tree: use cleanup functions - * cleanup: add cleanup functions - * tree: fix incorrect return value - * tree: Fix clearing application strings - * libnvme: reshuffle nvme_generate_tls_key_identity() - * libnvme: fixup error codes - * libnvme: Implement 'nvme_generate_tls_key_identity()' - * libnvme: support NVMe TLS identities version 1 - * libnvme: Add base64 functions - * libnvme: separate out 'gen_tls_identity' and reshuffle 'derive_nvme_keys' - * libnvme: separate out a function 'select_hmac' - * libnvme: fix a memory leak when calling read_ssns() - * libnvme: fix a memory leak in read_discovery() - * fabrics: avoid redundant args in nvme_discovery_log() - * fabrics: have nvmf_get_discovery_log() call nvmf_get_discovery_wargs() - * fabrics: fetch smaller Discovery Log Page header - * fabrics: avoid redundant Get Log Page on retry - * fabrics: clear RAE for discovery log page commands - * json-schema: add keyring and tls_key details - * types: add Host Behavior Support field definitions - * mi: Cast values to u32 if shift overflows int - * types: Cast values to u32 if shift overflows int - * test: Avoid unaligned pointer dereferences - * nbft: Avoid unaligned pointer dereferences - * types: add cross-namespace copy formats, status codes, ONCS bits - * nvme: Add length field to Hkdf-Expand-Label computation - * ioctl: use lsp arg in nvme_get_log_boot_partition - * fabrics: use SECTYPE to determine whether to use TLS - * fabrics: Allocate aligned payloads for id_ctrl and discovery log calls - * linux: Allocate aligned payloads for id_ctrl and id_ns calls - * ioctl: MSB variable-size storage/reference tags - -------------------------------------------------------------------- -Tue Oct 17 14:38:25 UTC 2023 - Martin Wilck - -- Update to version 1.6+5.g68c6ffb: - * avoid stack corruption by unaligned DMA to user space buffers - (bsc#1216344, gh#linux-nvme/libnvme#727) - -------------------------------------------------------------------- -Thu Oct 12 16:50:55 UTC 2023 - Daniel Wagner - -- Add missing jsc# tracking references to changelog - -------------------------------------------------------------------- -Mon Oct 9 10:00:13 UTC 2023 - Daniel Wagner - -- Use glob for python3-libnvme file listening. Workaround pycache_only - problems for SLE/Leap builds. -- Drop usused libuuid dependency - -------------------------------------------------------------------- -Wed Oct 4 14:31:09 UTC 2023 - Daniel Wagner - -- Enable tests during build -- Set git version tag -- Drop unused make dependency - -------------------------------------------------------------------- -Wed Oct 4 10:32:55 UTC 2023 - Daniel Wagner - -- Drop unencessary minimum version depedency on meson. -- Re-enable libdbus feature. Upstream defaults changed. - -------------------------------------------------------------------- -Fri Sep 29 11:42:15 UTC 2023 - Daniel Wagner - -- Update to version 1.6: (jsc#PED-3610 jsc#PED-4879 jsc#PED-5061) - * docs: Fix Read-the-Docs configuration (deprecated config param) - * mi-mctp: Fix free() in error path of mi_open_mctp - * types: Use NVME_SET for status type mask to get status value - * types: Define FLBAS MASK and SHIFT to use NVME_GET - * types: Support Phy Rx Eye Opening Measurement Log - * log: Add nvme root global variable to set for default output - * types: Add support for the OAQD ID controller field - * test: use non deprecated API - * test: add tests for Get/Set Features functions - * ioctl: implement nvme_set_features_lba_range() - * ioctl: pass NSID in Get/Set Features commands that use it - * ioctl: fix swapped parameters in nvme_set_features_host_id() - * ioctl: export nvme_{g,s}et_features_iocs_profile() - * ioctl: pass ENDGID in nvme_get_features_endurance_event_cfg() - * ioctl: don't set SAVE bit on unsaveable features - * ioctl: avoid sending uninitialized timestamp - * ioctl: pass data for Get/Set Features commands - * ioctl: set correct bits in Set Features commands - * ioctl: correct feature IDs in Get/Set Features commands - * tree: Add 2 new public functions to lookup existing controllers - * ioctl: Add debugging feature to show command outputs - * Fix incorrect article 'an' as 'a' to use for a description - * linux: Added functions to enable faster telemetry data retrieval. Moved telemetry data area support detection into separate function. Added possibility to modify data transfer chunk size. Enable telemetry extraction up to specified data area. Removed some printf() and perror(). - * test: account for discovery log page entry stripping - * fabrics: unconditionally strip discovery entry strings - * fabrics: only look for spaces in strchomp() - * tree: Use early return instead of else statements - * test: fix lookup test case - * test: make all function static - * test: add tests for new tcp controller matching algorithm - * tree: Improve TCP controller matching algorithm - * util: Add functions to parse the system's interfaces - * types: Add support for EGFEAT, Domain Identifier, TEGCAP and UEGCAP - * mi: remove nsid from nvme_mi_admin_identify_secondary_ctrl_list() - * test: add tests for nvme_ctrl_get_src_addr() - * tree: Add nvme_ctrl_get_src_addr() to get the controller's src_addr - * util: Split _nvme_ipaddrs_eq() from nvme_ipaddrs_eq() - * test: add tests for Identify functions - * ioctl: use available Identify helper functions - * test: pass a large enough buffer to nvme_identify_ns_descs() - * ioctl: remove nsid from nvme_identify_secondary_ctrl_list() - * meson: Don't hard-code path to "internal/config.h" - * fabrics: Do not pass disable_sqflow if not supported - * fabrics: Read the supported options lazy - * test: add discovery log page tests - * test: add infra for mocking passthru ioctls - * tree: fix segfault in nvme_scan_subsystem() (bsc#1213993) - * src/nvme/tree.c: make __nvme_scan_subsystem() returning bool (bsc#1213993) - * doc: fix minor mistake in README.md about dependencies - * nvme-tree: avoid warning in 'list-subsys' (bsc#1212598) - * tree: Add getter for subsystem iopolicy (bsc#1124564) - * fabrics: Consider also all hosts settings for context match - * tree: Scan all subsystems (bsc#1212598) - * doc: Fixing compile instruction in README - * mi: allow non-4-byte-aligned responses - * mi-mctp: use a linear response buffer - * mi: implement length and offset alignment checks in admin_xfer() - * tree: Don't open nvme devices until it's absolutely required - (bsc#1213527 bsc#1213686) - * tree: missing closedir() causes fd leak for "/sys/bus/pci/slots" - * mi: don't return from mi_mctp_submit with a tag held - * util: Provide empty nvme_ipaddrs_eq for static builds - * fabrics: Relax match on well known disc ctrl lookup - * tree: Ignore NULL address pointer for phy slot lookup - * fabrics: Filter discovery ctrls out during application context check - * util: Add ignored error code - * json: Use memory block allocated by realloc() instead printbuf - * util: Use HAVE_NETDB instead of HAVE_LIBNSS - * tree: Add PCI physical slot number for controller - * tree: Use nvme_ipaddrs_eq() to compare IP addresses - * fabrics: Add EADDRNOTAVAIL error mapping - * fabrics: filter out subsystems with non-matching application string - * libnvme: add 'application' setting to nvme_root - * libnvme: add 'application' setting to the subsystem - * test: Add more code coverage for nvme_ipaddrs_eq() - * util: rename ipaddrs_eq() to nvme_ipaddrs_eq() and make public. - * util: Add ipaddrs_eq() to check whether two IP addresses are equal - * test: Add unit test for ctrl lookups - * ioctl: fix RAE bit on last Get Log Page command (bsc#1213618) - * fabrics: check genctr after getting discovery entries (bsc#1213618) - * fabrics: handle /dev/nvme-fabrics read failure - * fabrics: fix potential invalid memory access in __nvmf_supported_option() - * Python: Fix crash during garbage collection - * python/swig: Check swig version to determine whether -py3 is needed - * python/swig: Wrap swig-sensitive struct inside #ifwdef SWIG - * mi: Add nvme_mi_ctrl_id to retrieve controller ID - * Python: Suppress swig warnings about unnamed struct - * examples: fix incorrect controller status in MI info output - * ioctl: Explicitly initialize all members of struct nvme_ns_mgmt_args - * Python: make NBFT data more pythonic - * ioctl: io management send, receive args fix - * python: Update test data - * NBFT: Remove documentation from nbft.c since it's also in nbft.h - * Python: Add NBFT support - * nbft: Doc typo - Use nvme_nbft_free() instead of nbft_free() - * nbft: Parse the {HOSTID,HOSTNQN}_CONFIGURED flags - * nbft: Fix nbft_ssns_flags endianness test - * nbft: Add a simple unit test - * doc: Update README - * build: Simple muon build configuration - * build: Extend summary section - * build: Make json-c dependency lookup not fail - * nbft: Move added symbols to LIBNVME_1_5 - * build: Update wrap mode defaults - * build: Disable fallback on default - * tree: Fix offset argument check in nvme_bytes_to_lba - * nbft: add NBFT v1.0 table support (jsc#PED-1449) - * types: Add IO command set specific field on nsmgmt - * fabrics: Do not pass unsupported options to kernel - * types: Add ns-mgmt host software specified fields - * types.h: Add FDP related Status Code - * tree: Fix argument check in nvme_bytes_to_lba - -------------------------------------------------------------------- -Thu Jul 27 13:10:34 UTC 2023 - Ana Guerrero - -- Fix build with meson 1.2.0 - -------------------------------------------------------------------- -Fri Mar 31 15:38:35 UTC 2023 - Daniel Wagnrer - -- Update to version 1.4: (jsc#PED-553 jsc#PED-3884) - * fabrics: Filter out invalid UUIDs from DMI - * fabrics: Add define for DMI sysinfo - * Print out correct TREQ strings for discovery - * tree: fix generic device open failure - * fabrics: add configuration option 'tls_key' - * fabrics: add configuration option 'keyring' - * linux: add key helper functions - * nvme: add 'nvme_insert_tls_key()' function - * linux: add nvme_lookup_keyring() - * python: Change python option from combo to feature - * types: add opcode field to error log page (TP4113) - * python: Add setter property for controller DHCHAP Key - * python: Remove redundant host.set_key() method - * build, meson: Print option summary - * Python: Add support for setting/getting Host DHCHAP key - * Python: Add hostnqn_from_file() and hostid_from_file() - * types: Update position of elbatm in struct nvme_copy_range{_f1} - * doc: fix kernel-doc-check warning - * python, meson: Assert that deps are present for -Dpython=true - * python: Reformat SWIG input file - * python test: Check there is no SIGSEGV during garbage collection - * python: Return PyObject* from __str__() instead of a static char[] - * python: Fix segmentation fault during garbage collection - * build: Enable test in muon minimal build - * build: Streamline workflows with nvme-cli - * mi: Add nvme_mi_admin_get_log_page - * ioctl: Set file descriptor in nvme_get_log_page() - * fix endians - * fabrics: Do not ignore one char whitespace when string sanitizing -- Enabled unit test on s390x again (bsc#1207687, bsc#1207686) -- Fix invalid string lenght calculcation for UUID (bsc#1209906) -- Fix segmentation fault during garbage collection (bsc#1209905) -- Always sanitize traddr and trsvcid entries (bsc#1207435) -- Allow tracking unique discover controllers (bsc#1186689) - -------------------------------------------------------------------- -Mon Jan 30 14:46:55 UTC 2023 - Martin Wilck - -- temporarily disable unit tests on s390x (bsc#1207687, bsc#1207686) - -------------------------------------------------------------------- -Mon Jan 30 13:51:19 UTC 2023 - Daniel Wagner - -- Update to version 1.3: - * Support added for Flexible Data Placement (TP4146) - * Fabrics: added support for Persistent Discovery Controllers. - * libnvme-mi added a quirk framework to workaround special behavior of - certain devices - * The python binding behaves more friendly in a threading environment - by release the GIL on blocking calls. - * Replaced 3the libsystemd dependency with libdbus - * A lot of small fixes everywhere (leaks, wrong ordering of arguments, ...) -- Update spec file - * Project depends on meson >= 0.50.0 - -------------------------------------------------------------------- -Wed Nov 02 16:06:21 UTC 2022 - Daniel Wagner - -- Update to version 1.2: - * Add more details for return code of MI admin cmds - * Parse dhchap_host_key on controller level - * Update json config schema for missing dhchap host key - * fabrics: Add new TP8010 definitions - * fabrics: Add nvmf_get_discovery_wargs() - * fabrics: Duplicate strings when merging configs - * fabrics: Filter out empty strings in add_argument() - * fabrics: Use fallthrough statement - * ioctl: Set log page offset for nvme_get_log_telemetry_host - * json-schema: add dhchap_key details to host section - * json: Enforce correctly formatted JSON config files - * json: Verify JSON config file starts with an array - * mi: Add Get Log Page helpers - * mi: Add Identify function for secondary controller list - * mi: Add Identify helper for ns-descs and primary-ctrl-caps - * mi: Add firmware download and commit commands - * mi: Add identify helper for nsid-capable Controller List - * mi: Add identify helpers for namespace lists - * mi: Add identify helpers for namespaces - * mi: Allow Admin-message sized More Processing Required responses - * mi: Distinguish MI status from NVMe (CDW3) status - * mi: Fix C++ compiler errors - * mi: Implement Format NVM command - * mi: Implement Get & Set Features Admin commands - * mi: Implement NS attach command and helpers - * mi: Implement Namespace Management command and create/delete helpers - * mi: Implement Sanitize command - * mi: Init ctrl_id within xfer - * mi: Introduce a helper for response status, unify values with ioctls - * mi: Set log page offset for nvme_get_log_telemetry_host - * mi: add nvme_mi_status_to_string() - * mi: fix a memory leak in nvme_mi_open_mctp() - * mi: fix get_log_page chunked offset check - * nvme-tree: avoid segfault if auth keys are unavailable - * python: Use nvmf_get_discovery_wargs() - * tree: rename controller 'dhchap_key' to 'dhchap_ctrl_key' - * types: Move enum nvme_data_tfr to types - * util: Add LINE_MAX define - * util: Add get feature length 2 API to support direction parameter - * util: Add simple UUID type - * util: Do not expose fallthrough defines -- Make man page build conditiional. Install man page location has been - fixed upstream. -- Mark the Python directory own by the libnvme3-python package - -------------------------------------------------------------------- -Mon Oct 31 19:06:17 UTC 2022 - Bernhard Wiedemann - -- Use fixed manpage build date (boo#1047218) - -------------------------------------------------------------------- -Fri Aug 26 06:32:07 UTC 2022 - Thorsten Kukuk - -- Fix installation of manual pages to make them accessible - -------------------------------------------------------------------- -Tue Aug 2 18:55:31 UTC 2022 - Dirk Müller - -- Update to version 1.1: - * Regenerate all documentation - * json: fixup dhchap_ctrl_key definitions - * fabrics: Fix build_options() return values - * fabrics: sanitize dump-config output - * Fix poll.h includes - * build: Drop -nostdinc for LibreSSL header checks - * ioctl: Honor rae in nvme_get_nsid_log - * build: Add support to build against LibreSSL - * rpmbuild: Enable 'make rpm' to build rpm pkgs #408 - * mi: unify MI Get Log Page function with ioctl API - * python: add missing ctrl attrs to Python bindings - * mi-mctp: Add timeout support to MCTP transport - * mi: Add maximum More Processing Required limit API - * mi: Add endpoint get/set timeout API - * tree: Factor lookup code for controller (bsc#1199503) - * fabrics: Consider config from file when adding new controller (bsc#1199503) - * fabrics: Lower log level in __nvmf_add_ctrl (bsc#1199994 bsc#1199503) - * fabrics: Remove double connection error logging (bsc#1199994 bsc#1199503) - * Fixes for controller authentication (bsc#1201501 bsc#1201700 bsc#1201701 bsc#1201717) - -------------------------------------------------------------------- -Thu Jul 14 14:00:41 UTC 2022 - daniel.wagner@suse.com - -- Update to version v1.1-rc0: - * update/cleanup of documentation - * various build fixes - * various fixes reported by coverity - * 64-bit Reference Tags and TP-4068 changes - * libnvme-mi: Introduce NVMe Managament Interface library - -------------------------------------------------------------------- -Fri Apr 08 17:04:22 UTC 2022 - Daniel Wagner - -- Update to version 1.0: - * tree: Remove default port setting for TCP and RDMA ports - * tree: add 'f_args' argument to pass user data to the filter function - * tree: remove 'ctrl_get_ana_state()' - * tree: add namespace path iterators - * tree: filter out namespaces - * tree: update nvme_scan_filter_t usage - -------------------------------------------------------------------- -Fri Apr 01 13:22:12 UTC 2022 - Daniel Wagner - -- Update to version 1.0-rc8: - * types: Add support for get log - MI Command Supported - * types: Add new Identify constant - * types: Update persistent event entry struct added new fields - * types: Add Host Initiated Data Gen Number to telemetry log struct - * tree: always allocate config file in nvme_read_config() - * tree: rework nvme_scan_subsystem() - * tree: make subsystem name mandatory in nvme_scan_ctrl() - * tree: move nvme_init_subsystem() into nvme_lookup_subsystem() - * tree: do not return error when filtering out subsystems - * tree: add debugging messages during scanning - * tree: Handle NULL subsysname in nvme_scan_ctrl() - * tree: Fix subsystem initialization in nvme_scan_ctrl() - * tree: Fix leaking 'name' in nvme_subsystem_lookup_namespace() - * tree: Avoid dereferencing nvme_subsystem_t before its check for NULL - * tree: Clarify NULL return values from nvme_get_attr() - * fabrics: Invoke nvmf_dim() with provided tas argument - * fabrics: add 'nvmf_update_config()' - * fabrics: Avoid out of bounds string chomping - * fabrics: Free old traddr in nvmf_add_ctrl - * fabrics: update log level for write failures - * fabrics: Streamlining documentation - * fabrics: Fix leaking ctrl in nvmf_connect_disc_entry() - * fabrics: Add missing break in a switch - * ioctl: Remove attribute packed and alignedof for args structs - * ioctl: Align arguments indentation with braces - * json: fix endless loop scanning for controllers - * Remove nvme_init_id_ns - * Add lbstm support for create-ns - * documentation updates - -------------------------------------------------------------------- -Fri Mar 18 19:08:52 UTC 2022 - Daniel Wagner - -- Update to version 1.0-rc7: - * linux: fixup log page offset in nvme_get_log_page() - * tree: Add support for default trsvcid for all controllers (bsc#1195858) - * tree: fixup coredump during nvme discover - -------------------------------------------------------------------- -Fri Mar 11 17:58:36 UTC 2022 - Daniel Wagnrer - -- Update to version 1.0-rc6: - * tree: add nvme_ctrl_get_ana_state() (bsc#1195938) - * tree: link paths to namespaces in nvme_subsystem_scan_namespace() (bsc#1195938) - * ioctl.h: ns list bug fix (wrong cns value) - * types.h: Key Value Command Set Identifier added (NVME_CSI_KV) - * types: fix status code type bug (wrong masking) - -------------------------------------------------------------------- -Tue Mar 8 09:30:25 UTC 2022 - Daniel Wagner - -- Update License information. The library is released under - LGPL-2.1-or-later and not LGPL-2.1-only. - -------------------------------------------------------------------- -Thu Mar 03 18:54:35 UTC 2022 - Daniel Wagner - -- Update to version 1.0-rc5: - * ioctl: Set lsp to action in nvme_get_log_persistent_event (bsc#1196121) - * tree: Ignore traddr case in nvme_lookup_ctrl() (bsc#1194025) - * fabrics: Do not swap bytes for system uuid (bsc#1196565) - * documentation updates - -------------------------------------------------------------------- -Tue Feb 22 17:40:44 UTC 2022 - Daniel Wagner - -- Update to version 1.0-rc4: - * fabrics: add default port number for NVMe/TCP I/O controllers - * linux: Update size when telemetry controller initiated data is unavailable - * add cdw13 for set_feature_args structure - * Add support for TP8010 - * Documentation cleanups - -------------------------------------------------------------------- -Fri Feb 11 13:29:54 UTC 2022 - Daniel Wagner - -- Update to version v1.0-rc3: - * Properly create manuals/documentation - * Fix memleaks in __nvme_free_ns() and nvme_scan_subsystem() - * nvme: get log domain id included in Log Specific Identifier - * nvme: Add nulbaf(Number of Unique Capability LBA Formats) field on nvmd_id_ns - * ioctl: Add identify ioctl for CNS 09h, 0Ah - * nvme: Add Enhanced Controller Meta Data(FID: 0x7D) - * nvme: Add Supported Capacity Configuration List log page(LID: 0x11) - * tree: do not set dhchap_key to 'none' - * tree: restart controller lookup - * tree: fixup memory leak in nvme_scan_ctrl() - * Rename nvme_path_get_subsystem() - * Remove nvme_reset_topology() -- Use precompiled documentation instead regenerating it - -------------------------------------------------------------------- -Tue Feb 01 11:26:39 UTC 2022 - Daniel Wagner - -- Update to version 1.0~2: - * Add fabrics config option 'tls' - * Logging infrastructure reworked (API break) - * Changed argument structs layout (API break) - * Changed scan API (API break) - * Fixed ctrl_loss_tmo handling concerning values of '-1' - * Various build fixes - ------------------------------------------------------------------- Wed Jan 19 11:13:42 UTC 2022 - Daniel Wagner diff --git a/libnvme.obsinfo b/libnvme.obsinfo index cd32709..f0b3000 100644 --- a/libnvme.obsinfo +++ b/libnvme.obsinfo @@ -1,4 +1,4 @@ name: libnvme -version: 1.7.1+0.g13ba383 -mtime: 1703065918 -commit: 13ba38387e5446849ae59d3ccd8183cf9aca3145 +version: 1.0~0 +mtime: 1642181328 +commit: c66a5a75973405090fd5f393f492c1cd5c6e4b56 diff --git a/libnvme.spec b/libnvme.spec index 41c15cb..f0862e4 100644 --- a/libnvme.spec +++ b/libnvme.spec @@ -1,7 +1,7 @@ # # spec file for package libnvme # -# Copyright (c) 2023 SUSE LLC +# Copyright (c) 2022 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -15,27 +15,23 @@ # Please submit bugfixes or comments via https://bugs.opensuse.org/ # - %define sover 1 -%bcond_without check - Name: libnvme -Version: 1.7.1+0.g13ba383 +Version: 1.0~0 Release: 0 Summary: Linux-native nvme device management library -License: LGPL-2.1-or-later +License: LGPL-2.1 URL: https://github.com/linux-nvme/libnvme/ Source0: libnvme-%{version}.tar.gz -BuildRequires: dbus-1-devel -BuildRequires: gcc -BuildRequires: gcc-c++ -BuildRequires: keyutils-devel +BuildRequires: meson >= 0.47.0 +BuildRequires: gcc gcc-c++ make +BuildRequires: libuuid-devel BuildRequires: libjson-c-devel -BuildRequires: meson BuildRequires: openssl-devel -BuildRequires: python3-devel BuildRequires: swig +BuildRequires: python3-devel +BuildRequires: python3-Sphinx %description Provides library functions for accessing and managing NVMe devices on a Linux @@ -51,20 +47,12 @@ system. %package devel Summary: Development files for %{name} Requires: %{name}%{sover} = %{version} -Requires: %{name}-mi%{sover} = %{version} %description devel The %{name}-devel package contains libraries and header files for developing applications that use %{name}. -%package mi%{sover} -Summary: NVMe Managament Interface library for %{name} - -%description mi%{sover} -Provides library functions for managing NVMe devices via the NVMe -Managament Interface. - -%package -n python3-libnvme +%package -n python3-libnvme Summary: Python binding for %{name} %description -n python3-libnvme @@ -77,28 +65,16 @@ Python binding part. %autosetup -p1 %build -export KBUILD_BUILD_TIMESTAMP=@${SOURCE_DATE_EPOCH:-$(date +%s)} %meson \ - -Ddocs=man \ - %{?_with_docs_build:-Ddocs-build=true} \ - -Dversion-tag=%{version} \ - -Dlibdbus=enabled + -Dman=true %meson_build -%if %{with check} -%check -%meson_test -%endif - %install %meson_install %post -n %{name}%{sover} -p /sbin/ldconfig %postun -n %{name}%{sover} -p /sbin/ldconfig -%post -n %{name}-mi%{sover} -p /sbin/ldconfig -%postun -n %{name}-mi%{sover} -p /sbin/ldconfig - %files -n %{name}%{sover} %license COPYING %doc README.md @@ -109,15 +85,12 @@ export KBUILD_BUILD_TIMESTAMP=@${SOURCE_DATE_EPOCH:-$(date +%s)} %{_includedir}/* %{_libdir}/%{name}*.so %{_libdir}/pkgconfig/%{name}.pc -%{_libdir}/pkgconfig/%{name}-mi.pc -%{_mandir}/*/*.gz - -%files -n %{name}-mi%{sover} -%license COPYING -%doc README.md -%{_libdir}/%{name}-mi.so.%{sover}* +%{_mandir}/*/* %files -n python3-libnvme -%{python3_sitearch}/* +%{python3_sitearch}/libnvme +%{python3_sitearch}/libnvme/*.so +%{python3_sitearch}/libnvme/__init__.py +%{python3_sitearch}/libnvme/nvme.py %changelog From fc53bb8338e175d9d98b04ceae2c45ca04a171ce7651a5a14a11702b6bb6cf4a Mon Sep 17 00:00:00 2001 From: Dominique Leuenberger Date: Thu, 3 Feb 2022 22:15:38 +0000 Subject: [PATCH 02/26] Accepting request 950643 from Base:System OBS-URL: https://build.opensuse.org/request/show/950643 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libnvme?expand=0&rev=2 --- _service | 2 +- _servicedata | 2 +- libnvme-1.0~0.obscpio | 3 --- libnvme-1.0~2.obscpio | 3 +++ libnvme.changes | 11 +++++++++++ libnvme.obsinfo | 6 +++--- libnvme.spec | 17 ++++++++++------- 7 files changed, 29 insertions(+), 15 deletions(-) delete mode 100644 libnvme-1.0~0.obscpio create mode 100644 libnvme-1.0~2.obscpio diff --git a/_service b/_service index 0347bf6..c1b2a68 100644 --- a/_service +++ b/_service @@ -5,7 +5,7 @@ libnvme @PARENT_TAG@ - v1.0-rc0 + v1.0-rc2 v[01].[0-9]* v([^+]*)-rc([0-9]+) \1~\2 diff --git a/_servicedata b/_servicedata index 441bb33..c2cdb26 100644 --- a/_servicedata +++ b/_servicedata @@ -1,6 +1,6 @@ https://github.com/linux-nvme/libnvme.git - f6cc9487ef8e272ac1dbb61a1df87585df2d2eb3 + 5b397aa3a2a70331373d321cf357055d3b1e7e4c \ No newline at end of file diff --git a/libnvme-1.0~0.obscpio b/libnvme-1.0~0.obscpio deleted file mode 100644 index 9d71691..0000000 --- a/libnvme-1.0~0.obscpio +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:9a41998519ebfacd336f593932187f9b8d6f3cce77e865c665a895ae280f7930 -size 1347084 diff --git a/libnvme-1.0~2.obscpio b/libnvme-1.0~2.obscpio new file mode 100644 index 0000000..19e3f24 --- /dev/null +++ b/libnvme-1.0~2.obscpio @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f8683d1ffee377314de9c22122eff71a781675e6d9a230eaa91a2246dd0c8356 +size 1356300 diff --git a/libnvme.changes b/libnvme.changes index 3b849e0..5672970 100644 --- a/libnvme.changes +++ b/libnvme.changes @@ -1,3 +1,14 @@ +------------------------------------------------------------------- +Tue Feb 01 11:26:39 UTC 2022 - daniel.wagner@suse.com + +- Update to version 1.0~2: + * Add fabrics config option 'tls' + * Logging infrastructure reworked (API break) + * Changed argument structs layout (API break) + * Changed scan API (API break) + * Fixed ctrl_loss_tmo handling concerning values of '-1' + * Various build fixes + ------------------------------------------------------------------- Wed Jan 19 11:13:42 UTC 2022 - Daniel Wagner diff --git a/libnvme.obsinfo b/libnvme.obsinfo index f0b3000..554eca2 100644 --- a/libnvme.obsinfo +++ b/libnvme.obsinfo @@ -1,4 +1,4 @@ name: libnvme -version: 1.0~0 -mtime: 1642181328 -commit: c66a5a75973405090fd5f393f492c1cd5c6e4b56 +version: 1.0~2 +mtime: 1643712260 +commit: 5b397aa3a2a70331373d321cf357055d3b1e7e4c diff --git a/libnvme.spec b/libnvme.spec index f0862e4..d63e804 100644 --- a/libnvme.spec +++ b/libnvme.spec @@ -15,23 +15,26 @@ # Please submit bugfixes or comments via https://bugs.opensuse.org/ # + %define sover 1 Name: libnvme -Version: 1.0~0 +Version: 1.0~2 Release: 0 Summary: Linux-native nvme device management library -License: LGPL-2.1 +License: LGPL-2.1-only URL: https://github.com/linux-nvme/libnvme/ Source0: libnvme-%{version}.tar.gz -BuildRequires: meson >= 0.47.0 -BuildRequires: gcc gcc-c++ make -BuildRequires: libuuid-devel +BuildRequires: gcc +BuildRequires: gcc-c++ BuildRequires: libjson-c-devel +BuildRequires: libuuid-devel +BuildRequires: make +BuildRequires: meson >= 0.47.0 BuildRequires: openssl-devel -BuildRequires: swig -BuildRequires: python3-devel BuildRequires: python3-Sphinx +BuildRequires: python3-devel +BuildRequires: swig %description Provides library functions for accessing and managing NVMe devices on a Linux From bd49941e4e7a16f84722e6d3c168a694a1d60b8005377d5768194aed900dee01 Mon Sep 17 00:00:00 2001 From: Dominique Leuenberger Date: Sun, 13 Feb 2022 18:50:27 +0000 Subject: [PATCH 03/26] Accepting request 953755 from Base:System OBS-URL: https://build.opensuse.org/request/show/953755 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libnvme?expand=0&rev=3 --- _service | 2 +- _servicedata | 2 +- libnvme-1.0~2.obscpio | 3 --- libnvme-1.0~3.obscpio | 3 +++ libnvme.changes | 20 +++++++++++++++++++- libnvme.obsinfo | 6 +++--- libnvme.spec | 5 ++--- 7 files changed, 29 insertions(+), 12 deletions(-) delete mode 100644 libnvme-1.0~2.obscpio create mode 100644 libnvme-1.0~3.obscpio diff --git a/_service b/_service index c1b2a68..94b5994 100644 --- a/_service +++ b/_service @@ -5,7 +5,7 @@ libnvme @PARENT_TAG@ - v1.0-rc2 + v1.0-rc3 v[01].[0-9]* v([^+]*)-rc([0-9]+) \1~\2 diff --git a/_servicedata b/_servicedata index c2cdb26..9bedf96 100644 --- a/_servicedata +++ b/_servicedata @@ -1,6 +1,6 @@ https://github.com/linux-nvme/libnvme.git - 5b397aa3a2a70331373d321cf357055d3b1e7e4c + 0c250e9d21270032e6af08c43ee1130b75a09fc3 \ No newline at end of file diff --git a/libnvme-1.0~2.obscpio b/libnvme-1.0~2.obscpio deleted file mode 100644 index 19e3f24..0000000 --- a/libnvme-1.0~2.obscpio +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:f8683d1ffee377314de9c22122eff71a781675e6d9a230eaa91a2246dd0c8356 -size 1356300 diff --git a/libnvme-1.0~3.obscpio b/libnvme-1.0~3.obscpio new file mode 100644 index 0000000..d79f28b --- /dev/null +++ b/libnvme-1.0~3.obscpio @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d174abcd6383d05a287cf09c4873490fa0b12ee3ef4c638e12de706bb0575ad6 +size 11629069 diff --git a/libnvme.changes b/libnvme.changes index 5672970..034011e 100644 --- a/libnvme.changes +++ b/libnvme.changes @@ -1,5 +1,23 @@ ------------------------------------------------------------------- -Tue Feb 01 11:26:39 UTC 2022 - daniel.wagner@suse.com +Fri Feb 11 13:29:54 UTC 2022 - Daniel Wagner + +- Update to version v1.0-rc3: + * Properly create manuals/documentation + * Fix memleaks in __nvme_free_ns() and nvme_scan_subsystem() + * nvme: get log domain id included in Log Specific Identifier + * nvme: Add nulbaf(Number of Unique Capability LBA Formats) field on nvmd_id_ns + * ioctl: Add identify ioctl for CNS 09h, 0Ah + * nvme: Add Enhanced Controller Meta Data(FID: 0x7D) + * nvme: Add Supported Capacity Configuration List log page(LID: 0x11) + * tree: do not set dhchap_key to 'none' + * tree: restart controller lookup + * tree: fixup memory leak in nvme_scan_ctrl() + * Rename nvme_path_get_subsystem() + * Remove nvme_reset_topology() +- Use precompiled documentation instead regenerating it + +------------------------------------------------------------------- +Tue Feb 01 11:26:39 UTC 2022 - Daniel Wagner - Update to version 1.0~2: * Add fabrics config option 'tls' diff --git a/libnvme.obsinfo b/libnvme.obsinfo index 554eca2..d6baa62 100644 --- a/libnvme.obsinfo +++ b/libnvme.obsinfo @@ -1,4 +1,4 @@ name: libnvme -version: 1.0~2 -mtime: 1643712260 -commit: 5b397aa3a2a70331373d321cf357055d3b1e7e4c +version: 1.0~3 +mtime: 1644583936 +commit: c434d43faee6e6e93ac5ad603ef94a77299fa178 diff --git a/libnvme.spec b/libnvme.spec index d63e804..810c762 100644 --- a/libnvme.spec +++ b/libnvme.spec @@ -19,7 +19,7 @@ %define sover 1 Name: libnvme -Version: 1.0~2 +Version: 1.0~3 Release: 0 Summary: Linux-native nvme device management library License: LGPL-2.1-only @@ -32,7 +32,6 @@ BuildRequires: libuuid-devel BuildRequires: make BuildRequires: meson >= 0.47.0 BuildRequires: openssl-devel -BuildRequires: python3-Sphinx BuildRequires: python3-devel BuildRequires: swig @@ -69,7 +68,7 @@ Python binding part. %build %meson \ - -Dman=true + -Ddocs=man %meson_build %install From 234ed0bc897e4b3f3a8d1eb2d358df71aaf31c15fdf2ba3f793b8dc223c4379b Mon Sep 17 00:00:00 2001 From: Dominique Leuenberger Date: Wed, 23 Feb 2022 15:25:56 +0000 Subject: [PATCH 04/26] Accepting request 956834 from Base:System OBS-URL: https://build.opensuse.org/request/show/956834 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libnvme?expand=0&rev=4 --- _service | 2 +- _servicedata | 2 +- libnvme-1.0~3.obscpio | 3 --- libnvme-1.0~4.obscpio | 3 +++ libnvme.changes | 10 ++++++++++ libnvme.obsinfo | 6 +++--- libnvme.spec | 2 +- 7 files changed, 19 insertions(+), 9 deletions(-) delete mode 100644 libnvme-1.0~3.obscpio create mode 100644 libnvme-1.0~4.obscpio diff --git a/_service b/_service index 94b5994..133eded 100644 --- a/_service +++ b/_service @@ -5,7 +5,7 @@ libnvme @PARENT_TAG@ - v1.0-rc3 + v1.0-rc4 v[01].[0-9]* v([^+]*)-rc([0-9]+) \1~\2 diff --git a/_servicedata b/_servicedata index 9bedf96..e0c23b0 100644 --- a/_servicedata +++ b/_servicedata @@ -1,6 +1,6 @@ https://github.com/linux-nvme/libnvme.git - 0c250e9d21270032e6af08c43ee1130b75a09fc3 + 3a1bc6c6226d240b544058065382e2546018caa8 \ No newline at end of file diff --git a/libnvme-1.0~3.obscpio b/libnvme-1.0~3.obscpio deleted file mode 100644 index d79f28b..0000000 --- a/libnvme-1.0~3.obscpio +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:d174abcd6383d05a287cf09c4873490fa0b12ee3ef4c638e12de706bb0575ad6 -size 11629069 diff --git a/libnvme-1.0~4.obscpio b/libnvme-1.0~4.obscpio new file mode 100644 index 0000000..a78b492 --- /dev/null +++ b/libnvme-1.0~4.obscpio @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:594ec0c1952af49b07df1b12643aeabd3c62f5ad86235148fff97ab98c1b699e +size 1526284 diff --git a/libnvme.changes b/libnvme.changes index 034011e..728bdda 100644 --- a/libnvme.changes +++ b/libnvme.changes @@ -1,3 +1,13 @@ +------------------------------------------------------------------- +Tue Feb 22 17:40:44 UTC 2022 - Daniel Wagner + +- Update to version 1.0-rc4: + * fabrics: add default port number for NVMe/TCP I/O controllers + * linux: Update size when telemetry controller initiated data is unavailable + * add cdw13 for set_feature_args structure + * Add support for TP8010 + * Documentation cleanups + ------------------------------------------------------------------- Fri Feb 11 13:29:54 UTC 2022 - Daniel Wagner diff --git a/libnvme.obsinfo b/libnvme.obsinfo index d6baa62..511d3f3 100644 --- a/libnvme.obsinfo +++ b/libnvme.obsinfo @@ -1,4 +1,4 @@ name: libnvme -version: 1.0~3 -mtime: 1644583936 -commit: c434d43faee6e6e93ac5ad603ef94a77299fa178 +version: 1.0~4 +mtime: 1645549785 +commit: 3a1bc6c6226d240b544058065382e2546018caa8 diff --git a/libnvme.spec b/libnvme.spec index 810c762..b08d7e0 100644 --- a/libnvme.spec +++ b/libnvme.spec @@ -19,7 +19,7 @@ %define sover 1 Name: libnvme -Version: 1.0~3 +Version: 1.0~4 Release: 0 Summary: Linux-native nvme device management library License: LGPL-2.1-only From 65eb1d2808f945d34097a297392d0e6746e6fa99135f0ada7b4f298acda2182e Mon Sep 17 00:00:00 2001 From: Dominique Leuenberger Date: Sat, 5 Mar 2022 13:43:07 +0000 Subject: [PATCH 05/26] Accepting request 959373 from Base:System OBS-URL: https://build.opensuse.org/request/show/959373 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libnvme?expand=0&rev=5 --- _service | 2 +- _servicedata | 2 +- libnvme-1.0~4.obscpio | 3 --- libnvme-1.0~5.obscpio | 3 +++ libnvme.changes | 9 +++++++++ libnvme.obsinfo | 6 +++--- libnvme.spec | 2 +- 7 files changed, 18 insertions(+), 9 deletions(-) delete mode 100644 libnvme-1.0~4.obscpio create mode 100644 libnvme-1.0~5.obscpio diff --git a/_service b/_service index 133eded..20f857f 100644 --- a/_service +++ b/_service @@ -5,7 +5,7 @@ libnvme @PARENT_TAG@ - v1.0-rc4 + v1.0-rc5 v[01].[0-9]* v([^+]*)-rc([0-9]+) \1~\2 diff --git a/_servicedata b/_servicedata index e0c23b0..9307f8e 100644 --- a/_servicedata +++ b/_servicedata @@ -1,6 +1,6 @@ https://github.com/linux-nvme/libnvme.git - 3a1bc6c6226d240b544058065382e2546018caa8 + e9a32c8236375356a65d85084c2b9e30619f7ed2 \ No newline at end of file diff --git a/libnvme-1.0~4.obscpio b/libnvme-1.0~4.obscpio deleted file mode 100644 index a78b492..0000000 --- a/libnvme-1.0~4.obscpio +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:594ec0c1952af49b07df1b12643aeabd3c62f5ad86235148fff97ab98c1b699e -size 1526284 diff --git a/libnvme-1.0~5.obscpio b/libnvme-1.0~5.obscpio new file mode 100644 index 0000000..ee0daa1 --- /dev/null +++ b/libnvme-1.0~5.obscpio @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8d63d737fbc6dd57ba8361aa78b483a92b6aa0c74508ea84e40a3d5a16831256 +size 1546764 diff --git a/libnvme.changes b/libnvme.changes index 728bdda..8bbae5f 100644 --- a/libnvme.changes +++ b/libnvme.changes @@ -1,3 +1,12 @@ +------------------------------------------------------------------- +Thu Mar 03 18:54:35 UTC 2022 - Daniel Wagner + +- Update to version 1.0-rc5: + * ioctl: Set lsp to action in nvme_get_log_persistent_event (bsc#1196121) + * tree: Ignore traddr case in nvme_lookup_ctrl() (bsc#1194025) + * fabrics: Do not swap bytes for system uuid (bsc#1196565) + * documentation updates + ------------------------------------------------------------------- Tue Feb 22 17:40:44 UTC 2022 - Daniel Wagner diff --git a/libnvme.obsinfo b/libnvme.obsinfo index 511d3f3..fc2e6e9 100644 --- a/libnvme.obsinfo +++ b/libnvme.obsinfo @@ -1,4 +1,4 @@ name: libnvme -version: 1.0~4 -mtime: 1645549785 -commit: 3a1bc6c6226d240b544058065382e2546018caa8 +version: 1.0~5 +mtime: 1646332543 +commit: e9a32c8236375356a65d85084c2b9e30619f7ed2 diff --git a/libnvme.spec b/libnvme.spec index b08d7e0..499742c 100644 --- a/libnvme.spec +++ b/libnvme.spec @@ -19,7 +19,7 @@ %define sover 1 Name: libnvme -Version: 1.0~4 +Version: 1.0~5 Release: 0 Summary: Linux-native nvme device management library License: LGPL-2.1-only From 8c8a25b5694a9c2933483d0acbdb3e59aadfce5e8fb73209a2cde1261cad3f16 Mon Sep 17 00:00:00 2001 From: Dominique Leuenberger Date: Wed, 9 Mar 2022 17:47:03 +0000 Subject: [PATCH 06/26] Accepting request 960169 from Base:System - Update License information. The library is released under LGPL-2.1-or-later and not LGPL-2.1-only. OBS-URL: https://build.opensuse.org/request/show/960169 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libnvme?expand=0&rev=6 --- libnvme.changes | 6 ++++++ libnvme.spec | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/libnvme.changes b/libnvme.changes index 8bbae5f..08095c7 100644 --- a/libnvme.changes +++ b/libnvme.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Mar 8 09:30:25 UTC 2022 - Daniel Wagner + +- Update License information. The library is released under + LGPL-2.1-or-later and not LGPL-2.1-only. + ------------------------------------------------------------------- Thu Mar 03 18:54:35 UTC 2022 - Daniel Wagner diff --git a/libnvme.spec b/libnvme.spec index 499742c..e6dd681 100644 --- a/libnvme.spec +++ b/libnvme.spec @@ -22,7 +22,7 @@ Name: libnvme Version: 1.0~5 Release: 0 Summary: Linux-native nvme device management library -License: LGPL-2.1-only +License: LGPL-2.1-or-later URL: https://github.com/linux-nvme/libnvme/ Source0: libnvme-%{version}.tar.gz BuildRequires: gcc From f3fc8b406693f0610c0a3eac9f0961757434ccf26826350349acc2462be90c3e Mon Sep 17 00:00:00 2001 From: Dominique Leuenberger Date: Mon, 14 Mar 2022 18:35:07 +0000 Subject: [PATCH 07/26] Accepting request 961122 from Base:System - Update to version 1.0-rc6: * tree: add nvme_ctrl_get_ana_state() (bsc#1195938) * tree: link paths to namespaces in nvme_subsystem_scan_namespace() (bsc#1195938) * ioctl.h: ns list bug fix (wrong cns value) * types.h: Key Value Command Set Identifier added (NVME_CSI_KV) * types: fix status code type bug (wrong masking) OBS-URL: https://build.opensuse.org/request/show/961122 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libnvme?expand=0&rev=7 --- _service | 2 +- _servicedata | 2 +- libnvme-1.0~5.obscpio | 3 --- libnvme-1.0~6.obscpio | 3 +++ libnvme.changes | 10 ++++++++++ libnvme.obsinfo | 6 +++--- libnvme.spec | 2 +- 7 files changed, 19 insertions(+), 9 deletions(-) delete mode 100644 libnvme-1.0~5.obscpio create mode 100644 libnvme-1.0~6.obscpio diff --git a/_service b/_service index 20f857f..41366c0 100644 --- a/_service +++ b/_service @@ -5,7 +5,7 @@ libnvme @PARENT_TAG@ - v1.0-rc5 + v1.0-rc6 v[01].[0-9]* v([^+]*)-rc([0-9]+) \1~\2 diff --git a/_servicedata b/_servicedata index 9307f8e..7b69340 100644 --- a/_servicedata +++ b/_servicedata @@ -1,6 +1,6 @@ https://github.com/linux-nvme/libnvme.git - e9a32c8236375356a65d85084c2b9e30619f7ed2 + 8d083ce7f25fccf610ed1de6e10aa16db1920d98 \ No newline at end of file diff --git a/libnvme-1.0~5.obscpio b/libnvme-1.0~5.obscpio deleted file mode 100644 index ee0daa1..0000000 --- a/libnvme-1.0~5.obscpio +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:8d63d737fbc6dd57ba8361aa78b483a92b6aa0c74508ea84e40a3d5a16831256 -size 1546764 diff --git a/libnvme-1.0~6.obscpio b/libnvme-1.0~6.obscpio new file mode 100644 index 0000000..f65bf3e --- /dev/null +++ b/libnvme-1.0~6.obscpio @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c8792ae0857a14dab99782f9002c16ea401f67c594319fc8d5e09e333ef6c372 +size 1551372 diff --git a/libnvme.changes b/libnvme.changes index 08095c7..ea8dc7e 100644 --- a/libnvme.changes +++ b/libnvme.changes @@ -1,3 +1,13 @@ +------------------------------------------------------------------- +Fri Mar 11 17:58:36 UTC 2022 - Daniel Wagnrer + +- Update to version 1.0-rc6: + * tree: add nvme_ctrl_get_ana_state() (bsc#1195938) + * tree: link paths to namespaces in nvme_subsystem_scan_namespace() (bsc#1195938) + * ioctl.h: ns list bug fix (wrong cns value) + * types.h: Key Value Command Set Identifier added (NVME_CSI_KV) + * types: fix status code type bug (wrong masking) + ------------------------------------------------------------------- Tue Mar 8 09:30:25 UTC 2022 - Daniel Wagner diff --git a/libnvme.obsinfo b/libnvme.obsinfo index fc2e6e9..19c57f3 100644 --- a/libnvme.obsinfo +++ b/libnvme.obsinfo @@ -1,4 +1,4 @@ name: libnvme -version: 1.0~5 -mtime: 1646332543 -commit: e9a32c8236375356a65d85084c2b9e30619f7ed2 +version: 1.0~6 +mtime: 1647014480 +commit: 8d083ce7f25fccf610ed1de6e10aa16db1920d98 diff --git a/libnvme.spec b/libnvme.spec index e6dd681..7ac12e6 100644 --- a/libnvme.spec +++ b/libnvme.spec @@ -19,7 +19,7 @@ %define sover 1 Name: libnvme -Version: 1.0~5 +Version: 1.0~6 Release: 0 Summary: Linux-native nvme device management library License: LGPL-2.1-or-later From c73954f8b11854959f1b1ecce7037e7d57f92b138f07dca0ccd47a020f91471c Mon Sep 17 00:00:00 2001 From: Dominique Leuenberger Date: Sun, 20 Mar 2022 19:55:11 +0000 Subject: [PATCH 08/26] Accepting request 962944 from Base:System OBS-URL: https://build.opensuse.org/request/show/962944 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libnvme?expand=0&rev=8 --- _service | 2 +- _servicedata | 2 +- libnvme-1.0~6.obscpio | 3 --- libnvme-1.0~7.obscpio | 3 +++ libnvme.changes | 8 ++++++++ libnvme.obsinfo | 6 +++--- libnvme.spec | 2 +- 7 files changed, 17 insertions(+), 9 deletions(-) delete mode 100644 libnvme-1.0~6.obscpio create mode 100644 libnvme-1.0~7.obscpio diff --git a/_service b/_service index 41366c0..6274a52 100644 --- a/_service +++ b/_service @@ -5,7 +5,7 @@ libnvme @PARENT_TAG@ - v1.0-rc6 + v1.0-rc7 v[01].[0-9]* v([^+]*)-rc([0-9]+) \1~\2 diff --git a/_servicedata b/_servicedata index 7b69340..d5ed55a 100644 --- a/_servicedata +++ b/_servicedata @@ -1,6 +1,6 @@ https://github.com/linux-nvme/libnvme.git - 8d083ce7f25fccf610ed1de6e10aa16db1920d98 + 131ee681a0e394b291cd407442886dbdf9fe124c \ No newline at end of file diff --git a/libnvme-1.0~6.obscpio b/libnvme-1.0~6.obscpio deleted file mode 100644 index f65bf3e..0000000 --- a/libnvme-1.0~6.obscpio +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:c8792ae0857a14dab99782f9002c16ea401f67c594319fc8d5e09e333ef6c372 -size 1551372 diff --git a/libnvme-1.0~7.obscpio b/libnvme-1.0~7.obscpio new file mode 100644 index 0000000..d869c35 --- /dev/null +++ b/libnvme-1.0~7.obscpio @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7d35b97c96aba4550d2735948215a71346903dd2c821e3ac45f0003055c7b302 +size 1550860 diff --git a/libnvme.changes b/libnvme.changes index ea8dc7e..d6692c6 100644 --- a/libnvme.changes +++ b/libnvme.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Fri Mar 18 19:08:52 UTC 2022 - Daniel Wagner + +- Update to version 1.0-rc7: + * linux: fixup log page offset in nvme_get_log_page() + * tree: Add support for default trsvcid for all controllers (bsc#1195858) + * tree: fixup coredump during nvme discover + ------------------------------------------------------------------- Fri Mar 11 17:58:36 UTC 2022 - Daniel Wagnrer diff --git a/libnvme.obsinfo b/libnvme.obsinfo index 19c57f3..017657e 100644 --- a/libnvme.obsinfo +++ b/libnvme.obsinfo @@ -1,4 +1,4 @@ name: libnvme -version: 1.0~6 -mtime: 1647014480 -commit: 8d083ce7f25fccf610ed1de6e10aa16db1920d98 +version: 1.0~7 +mtime: 1647621619 +commit: 131ee681a0e394b291cd407442886dbdf9fe124c diff --git a/libnvme.spec b/libnvme.spec index 7ac12e6..fe7c1d0 100644 --- a/libnvme.spec +++ b/libnvme.spec @@ -19,7 +19,7 @@ %define sover 1 Name: libnvme -Version: 1.0~6 +Version: 1.0~7 Release: 0 Summary: Linux-native nvme device management library License: LGPL-2.1-or-later From 4ae2c4c9508ce69c6d47701597d9062230cc0120c17c4e188d192384265cdb6f Mon Sep 17 00:00:00 2001 From: Dominique Leuenberger Date: Sun, 3 Apr 2022 19:30:42 +0000 Subject: [PATCH 09/26] Accepting request 966439 from Base:System OBS-URL: https://build.opensuse.org/request/show/966439 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libnvme?expand=0&rev=9 --- _service | 2 +- _servicedata | 2 +- libnvme-1.0~7.obscpio | 3 --- libnvme-1.0~8.obscpio | 3 +++ libnvme.changes | 34 ++++++++++++++++++++++++++++++++++ libnvme.obsinfo | 6 +++--- libnvme.spec | 2 +- 7 files changed, 43 insertions(+), 9 deletions(-) delete mode 100644 libnvme-1.0~7.obscpio create mode 100644 libnvme-1.0~8.obscpio diff --git a/_service b/_service index 6274a52..2f6e423 100644 --- a/_service +++ b/_service @@ -5,7 +5,7 @@ libnvme @PARENT_TAG@ - v1.0-rc7 + v1.0-rc8 v[01].[0-9]* v([^+]*)-rc([0-9]+) \1~\2 diff --git a/_servicedata b/_servicedata index d5ed55a..d6c420b 100644 --- a/_servicedata +++ b/_servicedata @@ -1,6 +1,6 @@ https://github.com/linux-nvme/libnvme.git - 131ee681a0e394b291cd407442886dbdf9fe124c + 008a2dacdc0d29f57ec7cfd5bd6e89bf4d531081 \ No newline at end of file diff --git a/libnvme-1.0~7.obscpio b/libnvme-1.0~7.obscpio deleted file mode 100644 index d869c35..0000000 --- a/libnvme-1.0~7.obscpio +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:7d35b97c96aba4550d2735948215a71346903dd2c821e3ac45f0003055c7b302 -size 1550860 diff --git a/libnvme-1.0~8.obscpio b/libnvme-1.0~8.obscpio new file mode 100644 index 0000000..fde913b --- /dev/null +++ b/libnvme-1.0~8.obscpio @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5f124b385b6a6e093760bef4cdec8aa74e7bf40459aeec8c0be33baf22ef765a +size 1563148 diff --git a/libnvme.changes b/libnvme.changes index d6692c6..f92e97b 100644 --- a/libnvme.changes +++ b/libnvme.changes @@ -1,3 +1,37 @@ +------------------------------------------------------------------- +Fri Apr 01 13:22:12 UTC 2022 - Daniel Wagner + +- Update to version 1.0-rc8: + * types: Add support for get log - MI Command Supported + * types: Add new Identify constant + * types: Update persistent event entry struct added new fields + * types: Add Host Initiated Data Gen Number to telemetry log struct + * tree: always allocate config file in nvme_read_config() + * tree: rework nvme_scan_subsystem() + * tree: make subsystem name mandatory in nvme_scan_ctrl() + * tree: move nvme_init_subsystem() into nvme_lookup_subsystem() + * tree: do not return error when filtering out subsystems + * tree: add debugging messages during scanning + * tree: Handle NULL subsysname in nvme_scan_ctrl() + * tree: Fix subsystem initialization in nvme_scan_ctrl() + * tree: Fix leaking 'name' in nvme_subsystem_lookup_namespace() + * tree: Avoid dereferencing nvme_subsystem_t before its check for NULL + * tree: Clarify NULL return values from nvme_get_attr() + * fabrics: Invoke nvmf_dim() with provided tas argument + * fabrics: add 'nvmf_update_config()' + * fabrics: Avoid out of bounds string chomping + * fabrics: Free old traddr in nvmf_add_ctrl + * fabrics: update log level for write failures + * fabrics: Streamlining documentation + * fabrics: Fix leaking ctrl in nvmf_connect_disc_entry() + * fabrics: Add missing break in a switch + * ioctl: Remove attribute packed and alignedof for args structs + * ioctl: Align arguments indentation with braces + * json: fix endless loop scanning for controllers + * Remove nvme_init_id_ns + * Add lbstm support for create-ns + * documentation updates + ------------------------------------------------------------------- Fri Mar 18 19:08:52 UTC 2022 - Daniel Wagner diff --git a/libnvme.obsinfo b/libnvme.obsinfo index 017657e..3dc714c 100644 --- a/libnvme.obsinfo +++ b/libnvme.obsinfo @@ -1,4 +1,4 @@ name: libnvme -version: 1.0~7 -mtime: 1647621619 -commit: 131ee681a0e394b291cd407442886dbdf9fe124c +version: 1.0~8 +mtime: 1648817249 +commit: 008a2dacdc0d29f57ec7cfd5bd6e89bf4d531081 diff --git a/libnvme.spec b/libnvme.spec index fe7c1d0..f2949b0 100644 --- a/libnvme.spec +++ b/libnvme.spec @@ -19,7 +19,7 @@ %define sover 1 Name: libnvme -Version: 1.0~7 +Version: 1.0~8 Release: 0 Summary: Linux-native nvme device management library License: LGPL-2.1-or-later From 4d31b12cf9851465c480c121b9b652b204e1a6ba828e61fb12d8e146ffdcfdf5 Mon Sep 17 00:00:00 2001 From: Dominique Leuenberger Date: Sun, 10 Apr 2022 17:05:25 +0000 Subject: [PATCH 10/26] Accepting request 967889 from Base:System OBS-URL: https://build.opensuse.org/request/show/967889 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libnvme?expand=0&rev=10 --- _service | 8 +++----- _servicedata | 2 +- libnvme-1.0.obscpio | 3 +++ libnvme-1.0~8.obscpio | 3 --- libnvme.changes | 11 +++++++++++ libnvme.obsinfo | 6 +++--- libnvme.spec | 2 +- 7 files changed, 22 insertions(+), 13 deletions(-) create mode 100644 libnvme-1.0.obscpio delete mode 100644 libnvme-1.0~8.obscpio diff --git a/_service b/_service index 2f6e423..5a8ba27 100644 --- a/_service +++ b/_service @@ -3,12 +3,10 @@ git https://github.com/linux-nvme/libnvme.git libnvme - @PARENT_TAG@ - v1.0-rc8 - v[01].[0-9]* - v([^+]*)-rc([0-9]+) - \1~\2 + v1.0 + v(\d+.\d+) + \1 enable diff --git a/_servicedata b/_servicedata index d6c420b..467f7dc 100644 --- a/_servicedata +++ b/_servicedata @@ -1,6 +1,6 @@ https://github.com/linux-nvme/libnvme.git - 008a2dacdc0d29f57ec7cfd5bd6e89bf4d531081 + 033449f7c61c130fd21f0a747075dc15069f73f0 \ No newline at end of file diff --git a/libnvme-1.0.obscpio b/libnvme-1.0.obscpio new file mode 100644 index 0000000..6607ac5 --- /dev/null +++ b/libnvme-1.0.obscpio @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d548a161f59257624be175b7a263fd5ba581371f806135876296e4ec244e61c8 +size 1564172 diff --git a/libnvme-1.0~8.obscpio b/libnvme-1.0~8.obscpio deleted file mode 100644 index fde913b..0000000 --- a/libnvme-1.0~8.obscpio +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:5f124b385b6a6e093760bef4cdec8aa74e7bf40459aeec8c0be33baf22ef765a -size 1563148 diff --git a/libnvme.changes b/libnvme.changes index f92e97b..293014b 100644 --- a/libnvme.changes +++ b/libnvme.changes @@ -1,3 +1,14 @@ +------------------------------------------------------------------- +Fri Apr 08 17:04:22 UTC 2022 - Daniel Wagner + +- Update to version 1.0: + * tree: Remove default port setting for TCP and RDMA ports + * tree: add 'f_args' argument to pass user data to the filter function + * tree: remove 'ctrl_get_ana_state()' + * tree: add namespace path iterators + * tree: filter out namespaces + * tree: update nvme_scan_filter_t usage + ------------------------------------------------------------------- Fri Apr 01 13:22:12 UTC 2022 - Daniel Wagner diff --git a/libnvme.obsinfo b/libnvme.obsinfo index 3dc714c..561d9b2 100644 --- a/libnvme.obsinfo +++ b/libnvme.obsinfo @@ -1,4 +1,4 @@ name: libnvme -version: 1.0~8 -mtime: 1648817249 -commit: 008a2dacdc0d29f57ec7cfd5bd6e89bf4d531081 +version: 1.0 +mtime: 1649434495 +commit: 033449f7c61c130fd21f0a747075dc15069f73f0 diff --git a/libnvme.spec b/libnvme.spec index f2949b0..a50d5d3 100644 --- a/libnvme.spec +++ b/libnvme.spec @@ -19,7 +19,7 @@ %define sover 1 Name: libnvme -Version: 1.0~8 +Version: 1.0 Release: 0 Summary: Linux-native nvme device management library License: LGPL-2.1-or-later From a0ab7e044124ffbccb162c97cf518586e1b332bea44dd2f930ad0803604e94f3 Mon Sep 17 00:00:00 2001 From: Richard Brown Date: Thu, 21 Jul 2022 09:32:43 +0000 Subject: [PATCH 11/26] Accepting request 989207 from Base:System OBS-URL: https://build.opensuse.org/request/show/989207 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libnvme?expand=0&rev=11 --- _service | 6 +++--- _servicedata | 2 +- libnvme-1.0.obscpio | 3 --- libnvme-1.1~rc0.obscpio | 3 +++ libnvme.changes | 10 ++++++++++ libnvme.obsinfo | 6 +++--- libnvme.spec | 21 +++++++++++++++++++-- 7 files changed, 39 insertions(+), 12 deletions(-) delete mode 100644 libnvme-1.0.obscpio create mode 100644 libnvme-1.1~rc0.obscpio diff --git a/_service b/_service index 5a8ba27..3edb2e2 100644 --- a/_service +++ b/_service @@ -4,9 +4,9 @@ https://github.com/linux-nvme/libnvme.git libnvme @PARENT_TAG@ - v1.0 - v(\d+.\d+) - \1 + v1.1-rc0 + v(\d+.\d+)-rc(\d+) + \1~rc\2 enable diff --git a/_servicedata b/_servicedata index 467f7dc..c6dec3e 100644 --- a/_servicedata +++ b/_servicedata @@ -1,6 +1,6 @@ https://github.com/linux-nvme/libnvme.git - 033449f7c61c130fd21f0a747075dc15069f73f0 + 6c5aedd78690b042250f3dc82b48b7302ea91dbd \ No newline at end of file diff --git a/libnvme-1.0.obscpio b/libnvme-1.0.obscpio deleted file mode 100644 index 6607ac5..0000000 --- a/libnvme-1.0.obscpio +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:d548a161f59257624be175b7a263fd5ba581371f806135876296e4ec244e61c8 -size 1564172 diff --git a/libnvme-1.1~rc0.obscpio b/libnvme-1.1~rc0.obscpio new file mode 100644 index 0000000..f4fac11 --- /dev/null +++ b/libnvme-1.1~rc0.obscpio @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:762ad14129e29443f0a51ee81cca53557487a33d8703f2094494a8324a8e8509 +size 2174476 diff --git a/libnvme.changes b/libnvme.changes index 293014b..d4ab929 100644 --- a/libnvme.changes +++ b/libnvme.changes @@ -1,3 +1,13 @@ +------------------------------------------------------------------- +Thu Jul 14 14:00:41 UTC 2022 - daniel.wagner@suse.com + +- Update to version v1.1-rc0: + * update/cleanup of documentation + * various build fixes + * various fixes reported by coverity + * 64-bit Reference Tags and TP-4068 changes + * libnvme-mi: Introduce NVMe Managament Interface library + ------------------------------------------------------------------- Fri Apr 08 17:04:22 UTC 2022 - Daniel Wagner diff --git a/libnvme.obsinfo b/libnvme.obsinfo index 561d9b2..fafce20 100644 --- a/libnvme.obsinfo +++ b/libnvme.obsinfo @@ -1,4 +1,4 @@ name: libnvme -version: 1.0 -mtime: 1649434495 -commit: 033449f7c61c130fd21f0a747075dc15069f73f0 +version: 1.1~rc0 +mtime: 1657802871 +commit: 6c5aedd78690b042250f3dc82b48b7302ea91dbd diff --git a/libnvme.spec b/libnvme.spec index a50d5d3..b6e81d5 100644 --- a/libnvme.spec +++ b/libnvme.spec @@ -19,7 +19,7 @@ %define sover 1 Name: libnvme -Version: 1.0 +Version: 1.1~rc0 Release: 0 Summary: Linux-native nvme device management library License: LGPL-2.1-or-later @@ -49,12 +49,20 @@ system. %package devel Summary: Development files for %{name} Requires: %{name}%{sover} = %{version} +Requires: %{name}-mi%{sover} = %{version} %description devel The %{name}-devel package contains libraries and header files for developing applications that use %{name}. -%package -n python3-libnvme +%package mi%{sover} +Summary: NVMe Managament Interface library for %{name} + +%description mi%{sover} +Provides library functions for managing NVMe devices via the NVMe +Managament Interface. + +%package -n python3-libnvme Summary: Python binding for %{name} %description -n python3-libnvme @@ -77,6 +85,9 @@ Python binding part. %post -n %{name}%{sover} -p /sbin/ldconfig %postun -n %{name}%{sover} -p /sbin/ldconfig +%post -n %{name}-mi%{sover} -p /sbin/ldconfig +%postun -n %{name}-mi%{sover} -p /sbin/ldconfig + %files -n %{name}%{sover} %license COPYING %doc README.md @@ -87,8 +98,14 @@ Python binding part. %{_includedir}/* %{_libdir}/%{name}*.so %{_libdir}/pkgconfig/%{name}.pc +%{_libdir}/pkgconfig/%{name}-mi.pc %{_mandir}/*/* +%files -n %{name}-mi%{sover} +%license COPYING +%doc README.md +%{_libdir}/%{name}-mi.so.%{sover}* + %files -n python3-libnvme %{python3_sitearch}/libnvme %{python3_sitearch}/libnvme/*.so From 9b12f652bb8bc5b873400a67d65252acc5082e2f5c1bb65bc72bc33fefcf739f Mon Sep 17 00:00:00 2001 From: Dominique Leuenberger Date: Thu, 4 Aug 2022 11:22:52 +0000 Subject: [PATCH 12/26] Accepting request 992454 from Base:System OBS-URL: https://build.opensuse.org/request/show/992454 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libnvme?expand=0&rev=12 --- _service | 5 ++--- _servicedata | 2 +- libnvme-1.1.obscpio | 3 +++ libnvme-1.1~rc0.obscpio | 3 --- libnvme.changes | 19 +++++++++++++++++++ libnvme.obsinfo | 6 +++--- libnvme.spec | 2 +- 7 files changed, 29 insertions(+), 11 deletions(-) create mode 100644 libnvme-1.1.obscpio delete mode 100644 libnvme-1.1~rc0.obscpio diff --git a/_service b/_service index 3edb2e2..37f235d 100644 --- a/_service +++ b/_service @@ -4,9 +4,8 @@ https://github.com/linux-nvme/libnvme.git libnvme @PARENT_TAG@ - v1.1-rc0 - v(\d+.\d+)-rc(\d+) - \1~rc\2 + v1.1 + v(.*) enable diff --git a/_servicedata b/_servicedata index c6dec3e..71a4b9a 100644 --- a/_servicedata +++ b/_servicedata @@ -1,6 +1,6 @@ https://github.com/linux-nvme/libnvme.git - 6c5aedd78690b042250f3dc82b48b7302ea91dbd + 47e3562a7d9b4bb871f374058c52c654fb4735e9 \ No newline at end of file diff --git a/libnvme-1.1.obscpio b/libnvme-1.1.obscpio new file mode 100644 index 0000000..3d9b0e5 --- /dev/null +++ b/libnvme-1.1.obscpio @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:349434ea837591a15ce00141b3a6e2fda5d141a9b8554c0db6c1ec2aefcbd40f +size 2183180 diff --git a/libnvme-1.1~rc0.obscpio b/libnvme-1.1~rc0.obscpio deleted file mode 100644 index f4fac11..0000000 --- a/libnvme-1.1~rc0.obscpio +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:762ad14129e29443f0a51ee81cca53557487a33d8703f2094494a8324a8e8509 -size 2174476 diff --git a/libnvme.changes b/libnvme.changes index d4ab929..6700728 100644 --- a/libnvme.changes +++ b/libnvme.changes @@ -1,3 +1,22 @@ +------------------------------------------------------------------- +Tue Aug 2 18:55:31 UTC 2022 - Dirk Müller + +- Update to version 1.1: + * Regenerate all documentation + * json: fixup dhchap_ctrl_key definitions + * fabrics: Fix build_options() return values + * fabrics: sanitize dump-config output + * Fix poll.h includes + * build: Drop -nostdinc for LibreSSL header checks + * ioctl: Honor rae in nvme_get_nsid_log + * build: Add support to build against LibreSSL + * rpmbuild: Enable 'make rpm' to build rpm pkgs #408 + * mi: unify MI Get Log Page function with ioctl API + * python: add missing ctrl attrs to Python bindings + * mi-mctp: Add timeout support to MCTP transport + * mi: Add maximum More Processing Required limit API + * mi: Add endpoint get/set timeout API + ------------------------------------------------------------------- Thu Jul 14 14:00:41 UTC 2022 - daniel.wagner@suse.com diff --git a/libnvme.obsinfo b/libnvme.obsinfo index fafce20..f3f18e5 100644 --- a/libnvme.obsinfo +++ b/libnvme.obsinfo @@ -1,4 +1,4 @@ name: libnvme -version: 1.1~rc0 -mtime: 1657802871 -commit: 6c5aedd78690b042250f3dc82b48b7302ea91dbd +version: 1.1 +mtime: 1659357926 +commit: 47e3562a7d9b4bb871f374058c52c654fb4735e9 diff --git a/libnvme.spec b/libnvme.spec index b6e81d5..9ac98d2 100644 --- a/libnvme.spec +++ b/libnvme.spec @@ -19,7 +19,7 @@ %define sover 1 Name: libnvme -Version: 1.1~rc0 +Version: 1.1 Release: 0 Summary: Linux-native nvme device management library License: LGPL-2.1-or-later From a7d2c96db5712cf34d60d423d4b781109a4c060d3c8c75a1fefc011e0096621e Mon Sep 17 00:00:00 2001 From: Dominique Leuenberger Date: Wed, 31 Aug 2022 16:08:43 +0000 Subject: [PATCH 13/26] Accepting request 1000300 from Base:System OBS-URL: https://build.opensuse.org/request/show/1000300 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libnvme?expand=0&rev=13 --- libnvme.changes | 5 +++++ libnvme.spec | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/libnvme.changes b/libnvme.changes index 6700728..17ed774 100644 --- a/libnvme.changes +++ b/libnvme.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Aug 26 06:32:07 UTC 2022 - Thorsten Kukuk + +- Fix installation of manual pages to make them accessible + ------------------------------------------------------------------- Tue Aug 2 18:55:31 UTC 2022 - Dirk Müller diff --git a/libnvme.spec b/libnvme.spec index 9ac98d2..8d0b6d7 100644 --- a/libnvme.spec +++ b/libnvme.spec @@ -76,7 +76,7 @@ Python binding part. %build %meson \ - -Ddocs=man + -Ddocs=man -Ddocs-build=true %meson_build %install @@ -99,7 +99,7 @@ Python binding part. %{_libdir}/%{name}*.so %{_libdir}/pkgconfig/%{name}.pc %{_libdir}/pkgconfig/%{name}-mi.pc -%{_mandir}/*/* +%{_mandir}/*/*.gz %files -n %{name}-mi%{sover} %license COPYING From 78e4d7dc470fbbd4bbfe5cdd711f027e6312254d89819c3f65ddd9e766645b32 Mon Sep 17 00:00:00 2001 From: Dominique Leuenberger Date: Thu, 3 Nov 2022 18:13:45 +0000 Subject: [PATCH 14/26] Accepting request 1033047 from Base:System OBS-URL: https://build.opensuse.org/request/show/1033047 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libnvme?expand=0&rev=14 --- _service | 2 +- _servicedata | 2 +- libnvme-1.1.obscpio | 3 --- libnvme-1.2.obscpio | 3 +++ libnvme.changes | 54 +++++++++++++++++++++++++++++++++++++++++++++ libnvme.obsinfo | 6 ++--- libnvme.spec | 8 +++---- 7 files changed, 66 insertions(+), 12 deletions(-) delete mode 100644 libnvme-1.1.obscpio create mode 100644 libnvme-1.2.obscpio diff --git a/_service b/_service index 37f235d..4944f5e 100644 --- a/_service +++ b/_service @@ -4,7 +4,7 @@ https://github.com/linux-nvme/libnvme.git libnvme @PARENT_TAG@ - v1.1 + v1.2 v(.*) enable diff --git a/_servicedata b/_servicedata index 71a4b9a..6f8e095 100644 --- a/_servicedata +++ b/_servicedata @@ -1,6 +1,6 @@ https://github.com/linux-nvme/libnvme.git - 47e3562a7d9b4bb871f374058c52c654fb4735e9 + b25dc6102bc000ff4c8061e6448cfb4c034eaed6 \ No newline at end of file diff --git a/libnvme-1.1.obscpio b/libnvme-1.1.obscpio deleted file mode 100644 index 3d9b0e5..0000000 --- a/libnvme-1.1.obscpio +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:349434ea837591a15ce00141b3a6e2fda5d141a9b8554c0db6c1ec2aefcbd40f -size 2183180 diff --git a/libnvme-1.2.obscpio b/libnvme-1.2.obscpio new file mode 100644 index 0000000..b1264a0 --- /dev/null +++ b/libnvme-1.2.obscpio @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8ff8ed5b69d498fbd25a5d2e032c0e5d5590d7b4533e3b02abe483841477fa84 +size 2406924 diff --git a/libnvme.changes b/libnvme.changes index 17ed774..35f4853 100644 --- a/libnvme.changes +++ b/libnvme.changes @@ -1,3 +1,57 @@ +------------------------------------------------------------------- +Wed Nov 02 16:06:21 UTC 2022 - Daniel Wagner + +- Update to version 1.2: + * Add more details for return code of MI admin cmds + * Parse dhchap_host_key on controller level + * Update json config schema for missing dhchap host key + * fabrics: Add new TP8010 definitions + * fabrics: Add nvmf_get_discovery_wargs() + * fabrics: Duplicate strings when merging configs + * fabrics: Filter out empty strings in add_argument() + * fabrics: Use fallthrough statement + * ioctl: Set log page offset for nvme_get_log_telemetry_host + * json-schema: add dhchap_key details to host section + * json: Enforce correctly formatted JSON config files + * json: Verify JSON config file starts with an array + * mi: Add Get Log Page helpers + * mi: Add Identify function for secondary controller list + * mi: Add Identify helper for ns-descs and primary-ctrl-caps + * mi: Add firmware download and commit commands + * mi: Add identify helper for nsid-capable Controller List + * mi: Add identify helpers for namespace lists + * mi: Add identify helpers for namespaces + * mi: Allow Admin-message sized More Processing Required responses + * mi: Distinguish MI status from NVMe (CDW3) status + * mi: Fix C++ compiler errors + * mi: Implement Format NVM command + * mi: Implement Get & Set Features Admin commands + * mi: Implement NS attach command and helpers + * mi: Implement Namespace Management command and create/delete helpers + * mi: Implement Sanitize command + * mi: Init ctrl_id within xfer + * mi: Introduce a helper for response status, unify values with ioctls + * mi: Set log page offset for nvme_get_log_telemetry_host + * mi: add nvme_mi_status_to_string() + * mi: fix a memory leak in nvme_mi_open_mctp() + * mi: fix get_log_page chunked offset check + * nvme-tree: avoid segfault if auth keys are unavailable + * python: Use nvmf_get_discovery_wargs() + * tree: rename controller 'dhchap_key' to 'dhchap_ctrl_key' + * types: Move enum nvme_data_tfr to types + * util: Add LINE_MAX define + * util: Add get feature length 2 API to support direction parameter + * util: Add simple UUID type + * util: Do not expose fallthrough defines +- Make man page build conditiional. Install man page location has been + fixed upstream. +- Mark the Python directory own by the libnvme3-python package + +------------------------------------------------------------------- +Mon Oct 31 19:06:17 UTC 2022 - Bernhard Wiedemann + +- Use fixed manpage build date (boo#1047218) + ------------------------------------------------------------------- Fri Aug 26 06:32:07 UTC 2022 - Thorsten Kukuk diff --git a/libnvme.obsinfo b/libnvme.obsinfo index f3f18e5..ffdf907 100644 --- a/libnvme.obsinfo +++ b/libnvme.obsinfo @@ -1,4 +1,4 @@ name: libnvme -version: 1.1 -mtime: 1659357926 -commit: 47e3562a7d9b4bb871f374058c52c654fb4735e9 +version: 1.2 +mtime: 1666977829 +commit: b25dc6102bc000ff4c8061e6448cfb4c034eaed6 diff --git a/libnvme.spec b/libnvme.spec index 8d0b6d7..2b9254f 100644 --- a/libnvme.spec +++ b/libnvme.spec @@ -19,7 +19,7 @@ %define sover 1 Name: libnvme -Version: 1.1 +Version: 1.2 Release: 0 Summary: Linux-native nvme device management library License: LGPL-2.1-or-later @@ -75,8 +75,8 @@ Python binding part. %autosetup -p1 %build -%meson \ - -Ddocs=man -Ddocs-build=true +export KBUILD_BUILD_TIMESTAMP=@${SOURCE_DATE_EPOCH:-$(date +%s)} +%meson -Ddocs=man %{?_with_docs_build:-Ddocs-build=true} %meson_build %install @@ -107,7 +107,7 @@ Python binding part. %{_libdir}/%{name}-mi.so.%{sover}* %files -n python3-libnvme -%{python3_sitearch}/libnvme +%dir %{python3_sitearch}/libnvme %{python3_sitearch}/libnvme/*.so %{python3_sitearch}/libnvme/__init__.py %{python3_sitearch}/libnvme/nvme.py From 5a2ae642c4528c22dd0e8bca9d493af912f663d1034e77ee9dd5ab07dbe7b70c Mon Sep 17 00:00:00 2001 From: Dominique Leuenberger Date: Tue, 31 Jan 2023 15:08:47 +0000 Subject: [PATCH 15/26] Accepting request 1062069 from Base:System OBS-URL: https://build.opensuse.org/request/show/1062069 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libnvme?expand=0&rev=15 --- _service | 2 +- _servicedata | 2 +- libnvme-1.2.obscpio | 3 --- libnvme-1.3.obscpio | 3 +++ libnvme.changes | 15 +++++++++++++++ libnvme.obsinfo | 6 +++--- libnvme.spec | 7 ++++--- 7 files changed, 27 insertions(+), 11 deletions(-) delete mode 100644 libnvme-1.2.obscpio create mode 100644 libnvme-1.3.obscpio diff --git a/_service b/_service index 4944f5e..00a5586 100644 --- a/_service +++ b/_service @@ -4,7 +4,7 @@ https://github.com/linux-nvme/libnvme.git libnvme @PARENT_TAG@ - v1.2 + v1.3 v(.*) enable diff --git a/_servicedata b/_servicedata index 6f8e095..4d16dc7 100644 --- a/_servicedata +++ b/_servicedata @@ -1,6 +1,6 @@ https://github.com/linux-nvme/libnvme.git - b25dc6102bc000ff4c8061e6448cfb4c034eaed6 + 94dd6d027e482749d8a915aae5fd52ef7323c054 \ No newline at end of file diff --git a/libnvme-1.2.obscpio b/libnvme-1.2.obscpio deleted file mode 100644 index b1264a0..0000000 --- a/libnvme-1.2.obscpio +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:8ff8ed5b69d498fbd25a5d2e032c0e5d5590d7b4533e3b02abe483841477fa84 -size 2406924 diff --git a/libnvme-1.3.obscpio b/libnvme-1.3.obscpio new file mode 100644 index 0000000..2be9cd8 --- /dev/null +++ b/libnvme-1.3.obscpio @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c688320210abf82513aae215a73425a8cd065b2f312ab923f6de366ee9380d4d +size 2487820 diff --git a/libnvme.changes b/libnvme.changes index 35f4853..6fff269 100644 --- a/libnvme.changes +++ b/libnvme.changes @@ -1,3 +1,18 @@ +------------------------------------------------------------------- +Mon Jan 30 13:51:19 UTC 2023 - Daniel Wagner + +- Update to version 1.3: + * Support added for Flexible Data Placement (TP4146) + * Fabrics: added support for Persistent Discovery Controllers. + * libnvme-mi added a quirk framework to workaround special behavior of + certain devices + * The python binding behaves more friendly in a threading environment + by release the GIL on blocking calls. + * Replaced 3the libsystemd dependency with libdbus + * A lot of small fixes everywhere (leaks, wrong ordering of arguments, ...) +- Update spec file + * Project depends on meson >= 0.50.0 + ------------------------------------------------------------------- Wed Nov 02 16:06:21 UTC 2022 - Daniel Wagner diff --git a/libnvme.obsinfo b/libnvme.obsinfo index ffdf907..3793a0c 100644 --- a/libnvme.obsinfo +++ b/libnvme.obsinfo @@ -1,4 +1,4 @@ name: libnvme -version: 1.2 -mtime: 1666977829 -commit: b25dc6102bc000ff4c8061e6448cfb4c034eaed6 +version: 1.3 +mtime: 1675084192 +commit: 94dd6d027e482749d8a915aae5fd52ef7323c054 diff --git a/libnvme.spec b/libnvme.spec index 2b9254f..f433d98 100644 --- a/libnvme.spec +++ b/libnvme.spec @@ -1,7 +1,7 @@ # # spec file for package libnvme # -# Copyright (c) 2022 SUSE LLC +# Copyright (c) 2023 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -19,18 +19,19 @@ %define sover 1 Name: libnvme -Version: 1.2 +Version: 1.3 Release: 0 Summary: Linux-native nvme device management library License: LGPL-2.1-or-later URL: https://github.com/linux-nvme/libnvme/ Source0: libnvme-%{version}.tar.gz +BuildRequires: dbus-1-devel BuildRequires: gcc BuildRequires: gcc-c++ BuildRequires: libjson-c-devel BuildRequires: libuuid-devel BuildRequires: make -BuildRequires: meson >= 0.47.0 +BuildRequires: meson >= 0.50.0 BuildRequires: openssl-devel BuildRequires: python3-devel BuildRequires: swig From a97697ff88d709b460947c28fb9dfec031f9c918dbd5fad98e0974f129181a8f Mon Sep 17 00:00:00 2001 From: Dominique Leuenberger Date: Sun, 2 Apr 2023 17:16:50 +0000 Subject: [PATCH 16/26] Accepting request 1076526 from Base:System OBS-URL: https://build.opensuse.org/request/show/1076526 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libnvme?expand=0&rev=16 --- _service | 2 +- _servicedata | 2 +- libnvme-1.3.obscpio | 3 --- libnvme-1.4.obscpio | 3 +++ libnvme.changes | 34 ++++++++++++++++++++++++++++++++++ libnvme.obsinfo | 6 +++--- libnvme.spec | 3 ++- 7 files changed, 44 insertions(+), 9 deletions(-) delete mode 100644 libnvme-1.3.obscpio create mode 100644 libnvme-1.4.obscpio diff --git a/_service b/_service index 00a5586..84e670f 100644 --- a/_service +++ b/_service @@ -4,7 +4,7 @@ https://github.com/linux-nvme/libnvme.git libnvme @PARENT_TAG@ - v1.3 + v1.4 v(.*) enable diff --git a/_servicedata b/_servicedata index 4d16dc7..a522142 100644 --- a/_servicedata +++ b/_servicedata @@ -1,6 +1,6 @@ https://github.com/linux-nvme/libnvme.git - 94dd6d027e482749d8a915aae5fd52ef7323c054 + a8a5d300c70fc30ffd793bb5726a4ec3d0719163 \ No newline at end of file diff --git a/libnvme-1.3.obscpio b/libnvme-1.3.obscpio deleted file mode 100644 index 2be9cd8..0000000 --- a/libnvme-1.3.obscpio +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:c688320210abf82513aae215a73425a8cd065b2f312ab923f6de366ee9380d4d -size 2487820 diff --git a/libnvme-1.4.obscpio b/libnvme-1.4.obscpio new file mode 100644 index 0000000..6b91318 --- /dev/null +++ b/libnvme-1.4.obscpio @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8f01f1a8f2c2534871372d0dd01d1023ee393049b98404b5d1bf8657818202d9 +size 2518540 diff --git a/libnvme.changes b/libnvme.changes index 6fff269..ec21924 100644 --- a/libnvme.changes +++ b/libnvme.changes @@ -1,3 +1,37 @@ +------------------------------------------------------------------- +Fri Mar 31 15:38:35 UTC 2023 - Daniel Wagnrer + +- Update to version 1.4: + * fabrics: Filter out invalid UUIDs from DMI + * fabrics: Add define for DMI sysinfo + * Print out correct TREQ strings for discovery + * tree: fix generic device open failure + * fabrics: add configuration option 'tls_key' + * fabrics: add configuration option 'keyring' + * linux: add key helper functions + * nvme: add 'nvme_insert_tls_key()' function + * linux: add nvme_lookup_keyring() + * python: Change python option from combo to feature + * types: add opcode field to error log page (TP4113) + * python: Add setter property for controller DHCHAP Key + * python: Remove redundant host.set_key() method + * build, meson: Print option summary + * Python: Add support for setting/getting Host DHCHAP key + * Python: Add hostnqn_from_file() and hostid_from_file() + * types: Update position of elbatm in struct nvme_copy_range{_f1} + * doc: fix kernel-doc-check warning + * python, meson: Assert that deps are present for -Dpython=true + * python: Reformat SWIG input file + * python test: Check there is no SIGSEGV during garbage collection + * python: Return PyObject* from __str__() instead of a static char[] + * python: Fix segmentation fault during garbage collection + * build: Enable test in muon minimal build + * build: Streamline workflows with nvme-cli + * mi: Add nvme_mi_admin_get_log_page + * ioctl: Set file descriptor in nvme_get_log_page() + * fix endians + * fabrics: Do not ignore one char whitespace when string sanitizing + ------------------------------------------------------------------- Mon Jan 30 13:51:19 UTC 2023 - Daniel Wagner diff --git a/libnvme.obsinfo b/libnvme.obsinfo index 3793a0c..0fe8849 100644 --- a/libnvme.obsinfo +++ b/libnvme.obsinfo @@ -1,4 +1,4 @@ name: libnvme -version: 1.3 -mtime: 1675084192 -commit: 94dd6d027e482749d8a915aae5fd52ef7323c054 +version: 1.4 +mtime: 1680271519 +commit: a8a5d300c70fc30ffd793bb5726a4ec3d0719163 diff --git a/libnvme.spec b/libnvme.spec index f433d98..5f54512 100644 --- a/libnvme.spec +++ b/libnvme.spec @@ -19,7 +19,7 @@ %define sover 1 Name: libnvme -Version: 1.3 +Version: 1.4 Release: 0 Summary: Linux-native nvme device management library License: LGPL-2.1-or-later @@ -28,6 +28,7 @@ Source0: libnvme-%{version}.tar.gz BuildRequires: dbus-1-devel BuildRequires: gcc BuildRequires: gcc-c++ +BuildRequires: keyutils-devel BuildRequires: libjson-c-devel BuildRequires: libuuid-devel BuildRequires: make From f5e86317b0a3704260cc38893ba806a8ea9eab6d56e979c43d4bd5bf2f91e40a Mon Sep 17 00:00:00 2001 From: Ana Guerrero Date: Wed, 26 Jul 2023 11:21:36 +0000 Subject: [PATCH 17/26] Accepting request 1099915 from Base:System OBS-URL: https://build.opensuse.org/request/show/1099915 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libnvme?expand=0&rev=17 --- _service | 2 +- _servicedata | 2 +- libnvme-1.4.obscpio | 3 --- libnvme-1.5.obscpio | 3 +++ libnvme.changes | 40 ++++++++++++++++++++++++++++++++++++++++ libnvme.obsinfo | 6 +++--- libnvme.spec | 3 ++- 7 files changed, 50 insertions(+), 9 deletions(-) delete mode 100644 libnvme-1.4.obscpio create mode 100644 libnvme-1.5.obscpio diff --git a/_service b/_service index 84e670f..86a355e 100644 --- a/_service +++ b/_service @@ -4,7 +4,7 @@ https://github.com/linux-nvme/libnvme.git libnvme @PARENT_TAG@ - v1.4 + v1.5 v(.*) enable diff --git a/_servicedata b/_servicedata index a522142..b6bdc18 100644 --- a/_servicedata +++ b/_servicedata @@ -1,6 +1,6 @@ https://github.com/linux-nvme/libnvme.git - a8a5d300c70fc30ffd793bb5726a4ec3d0719163 + 4fea83db8328ea788ea8f1001e8ce1cb80ef5fae \ No newline at end of file diff --git a/libnvme-1.4.obscpio b/libnvme-1.4.obscpio deleted file mode 100644 index 6b91318..0000000 --- a/libnvme-1.4.obscpio +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:8f01f1a8f2c2534871372d0dd01d1023ee393049b98404b5d1bf8657818202d9 -size 2518540 diff --git a/libnvme-1.5.obscpio b/libnvme-1.5.obscpio new file mode 100644 index 0000000..5c4ea34 --- /dev/null +++ b/libnvme-1.5.obscpio @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d4e94308a0ca403adbab8b7c89a9f362f3328801ce301b12028559af443843c2 +size 2797068 diff --git a/libnvme.changes b/libnvme.changes index ec21924..b02b036 100644 --- a/libnvme.changes +++ b/libnvme.changes @@ -1,3 +1,43 @@ +------------------------------------------------------------------- +Fri Jul 21 12:54:56 UTC 2023 - Daniel Wagner + +- Label __pycache__ directory because meson 1.2.0 starts to install + the precompiled files. + +------------------------------------------------------------------- +Thu Jul 06 09:40:01 UTC 2023 - Daniel Wagner + +- Update to version 1.5: + * fabrics: Relax match on well known disc ctrl lookup + * tree: Ignore NULL address pointer for phy slot lookup + * fabrics: Filter discovery ctrls out during application context check + * util: Add ignored error code + * json: Use memory block allocated by realloc() instead printbuf + * tree: Add PCI physical slot number for controller + * tree: Use nvme_ipaddrs_eq() to compare IP addresses + * fabrics: Add EADDRNOTAVAIL error mapping + * fabrics: filter out subsystems with non-matching application string + * libnvme: add 'application' setting to nvme_root + * libnvme: add 'application' setting to the subsystem + * util: rename ipaddrs_eq() to nvme_ipaddrs_eq() and make public. + * util: Add ipaddrs_eq() to check whether two IP addresses are equal + * ioctl: fix RAE bit on last Get Log Page command + * fabrics: check genctr after getting discovery entries + * fabrics: handle /dev/nvme-fabrics read failure + * fabrics: fix potential invalid memory access in __nvmf_supported_option() + * Python: Fix crash during garbage collection + * mi: Add nvme_mi_ctrl_id to retrieve controller ID + * ioctl: Explicitly initialize all members of struct nvme_ns_mgmt_args + * ioctl: io management send, receive args fix + * Python: Add NBFT support + * tree: Fix offset argument check in nvme_bytes_to_lba + * nbft: add NBFT v1.0 table support + * types: Add IO command set specific field on nsmgmt + * fabrics: Do not pass unsupported options to kernel + * types: Add ns-mgmt host software specified fields + * types.h: Add FDP related Status Code + * tree: Fix argument check in nvme_bytes_to_lba + ------------------------------------------------------------------- Fri Mar 31 15:38:35 UTC 2023 - Daniel Wagnrer diff --git a/libnvme.obsinfo b/libnvme.obsinfo index 0fe8849..7d86575 100644 --- a/libnvme.obsinfo +++ b/libnvme.obsinfo @@ -1,4 +1,4 @@ name: libnvme -version: 1.4 -mtime: 1680271519 -commit: a8a5d300c70fc30ffd793bb5726a4ec3d0719163 +version: 1.5 +mtime: 1688131027 +commit: 4fea83db8328ea788ea8f1001e8ce1cb80ef5fae diff --git a/libnvme.spec b/libnvme.spec index 5f54512..01c4672 100644 --- a/libnvme.spec +++ b/libnvme.spec @@ -19,7 +19,7 @@ %define sover 1 Name: libnvme -Version: 1.4 +Version: 1.5 Release: 0 Summary: Linux-native nvme device management library License: LGPL-2.1-or-later @@ -113,5 +113,6 @@ export KBUILD_BUILD_TIMESTAMP=@${SOURCE_DATE_EPOCH:-$(date +%s)} %{python3_sitearch}/libnvme/*.so %{python3_sitearch}/libnvme/__init__.py %{python3_sitearch}/libnvme/nvme.py +%pycache_only %{python3_sitearch}/libnvme/__pycache__ %changelog From ee719c1a7d24734141e66bfc272e7623f39884dcb211660b8c00422924d5add8 Mon Sep 17 00:00:00 2001 From: Ana Guerrero Date: Thu, 27 Jul 2023 12:13:24 +0000 Subject: [PATCH 18/26] https://bugzilla.suse.com/show_bug.cgi?id=1213712 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libnvme?expand=0&rev=18 --- _service | 2 +- _servicedata | 2 +- libnvme-1.4.obscpio | 3 +++ libnvme-1.5.obscpio | 3 --- libnvme.changes | 40 ---------------------------------------- libnvme.obsinfo | 6 +++--- libnvme.spec | 3 +-- 7 files changed, 9 insertions(+), 50 deletions(-) create mode 100644 libnvme-1.4.obscpio delete mode 100644 libnvme-1.5.obscpio diff --git a/_service b/_service index 86a355e..84e670f 100644 --- a/_service +++ b/_service @@ -4,7 +4,7 @@ https://github.com/linux-nvme/libnvme.git libnvme @PARENT_TAG@ - v1.5 + v1.4 v(.*) enable diff --git a/_servicedata b/_servicedata index b6bdc18..a522142 100644 --- a/_servicedata +++ b/_servicedata @@ -1,6 +1,6 @@ https://github.com/linux-nvme/libnvme.git - 4fea83db8328ea788ea8f1001e8ce1cb80ef5fae + a8a5d300c70fc30ffd793bb5726a4ec3d0719163 \ No newline at end of file diff --git a/libnvme-1.4.obscpio b/libnvme-1.4.obscpio new file mode 100644 index 0000000..6b91318 --- /dev/null +++ b/libnvme-1.4.obscpio @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8f01f1a8f2c2534871372d0dd01d1023ee393049b98404b5d1bf8657818202d9 +size 2518540 diff --git a/libnvme-1.5.obscpio b/libnvme-1.5.obscpio deleted file mode 100644 index 5c4ea34..0000000 --- a/libnvme-1.5.obscpio +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:d4e94308a0ca403adbab8b7c89a9f362f3328801ce301b12028559af443843c2 -size 2797068 diff --git a/libnvme.changes b/libnvme.changes index b02b036..ec21924 100644 --- a/libnvme.changes +++ b/libnvme.changes @@ -1,43 +1,3 @@ -------------------------------------------------------------------- -Fri Jul 21 12:54:56 UTC 2023 - Daniel Wagner - -- Label __pycache__ directory because meson 1.2.0 starts to install - the precompiled files. - -------------------------------------------------------------------- -Thu Jul 06 09:40:01 UTC 2023 - Daniel Wagner - -- Update to version 1.5: - * fabrics: Relax match on well known disc ctrl lookup - * tree: Ignore NULL address pointer for phy slot lookup - * fabrics: Filter discovery ctrls out during application context check - * util: Add ignored error code - * json: Use memory block allocated by realloc() instead printbuf - * tree: Add PCI physical slot number for controller - * tree: Use nvme_ipaddrs_eq() to compare IP addresses - * fabrics: Add EADDRNOTAVAIL error mapping - * fabrics: filter out subsystems with non-matching application string - * libnvme: add 'application' setting to nvme_root - * libnvme: add 'application' setting to the subsystem - * util: rename ipaddrs_eq() to nvme_ipaddrs_eq() and make public. - * util: Add ipaddrs_eq() to check whether two IP addresses are equal - * ioctl: fix RAE bit on last Get Log Page command - * fabrics: check genctr after getting discovery entries - * fabrics: handle /dev/nvme-fabrics read failure - * fabrics: fix potential invalid memory access in __nvmf_supported_option() - * Python: Fix crash during garbage collection - * mi: Add nvme_mi_ctrl_id to retrieve controller ID - * ioctl: Explicitly initialize all members of struct nvme_ns_mgmt_args - * ioctl: io management send, receive args fix - * Python: Add NBFT support - * tree: Fix offset argument check in nvme_bytes_to_lba - * nbft: add NBFT v1.0 table support - * types: Add IO command set specific field on nsmgmt - * fabrics: Do not pass unsupported options to kernel - * types: Add ns-mgmt host software specified fields - * types.h: Add FDP related Status Code - * tree: Fix argument check in nvme_bytes_to_lba - ------------------------------------------------------------------- Fri Mar 31 15:38:35 UTC 2023 - Daniel Wagnrer diff --git a/libnvme.obsinfo b/libnvme.obsinfo index 7d86575..0fe8849 100644 --- a/libnvme.obsinfo +++ b/libnvme.obsinfo @@ -1,4 +1,4 @@ name: libnvme -version: 1.5 -mtime: 1688131027 -commit: 4fea83db8328ea788ea8f1001e8ce1cb80ef5fae +version: 1.4 +mtime: 1680271519 +commit: a8a5d300c70fc30ffd793bb5726a4ec3d0719163 diff --git a/libnvme.spec b/libnvme.spec index 01c4672..5f54512 100644 --- a/libnvme.spec +++ b/libnvme.spec @@ -19,7 +19,7 @@ %define sover 1 Name: libnvme -Version: 1.5 +Version: 1.4 Release: 0 Summary: Linux-native nvme device management library License: LGPL-2.1-or-later @@ -113,6 +113,5 @@ export KBUILD_BUILD_TIMESTAMP=@${SOURCE_DATE_EPOCH:-$(date +%s)} %{python3_sitearch}/libnvme/*.so %{python3_sitearch}/libnvme/__init__.py %{python3_sitearch}/libnvme/nvme.py -%pycache_only %{python3_sitearch}/libnvme/__pycache__ %changelog From 6b911f7f252b2bb8bc12c7de4754e664d77f313029ba8e08d5afe9b601810866 Mon Sep 17 00:00:00 2001 From: Ana Guerrero Date: Thu, 27 Jul 2023 14:50:57 +0000 Subject: [PATCH 19/26] Accepting request 1101086 from Base:System OBS-URL: https://build.opensuse.org/request/show/1101086 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libnvme?expand=0&rev=19 --- libnvme.changes | 5 +++++ libnvme.spec | 1 + 2 files changed, 6 insertions(+) diff --git a/libnvme.changes b/libnvme.changes index ec21924..1465638 100644 --- a/libnvme.changes +++ b/libnvme.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Jul 27 13:10:34 UTC 2023 - Ana Guerrero + +- Fix build with meson 1.2.0 + ------------------------------------------------------------------- Fri Mar 31 15:38:35 UTC 2023 - Daniel Wagnrer diff --git a/libnvme.spec b/libnvme.spec index 5f54512..70e107f 100644 --- a/libnvme.spec +++ b/libnvme.spec @@ -113,5 +113,6 @@ export KBUILD_BUILD_TIMESTAMP=@${SOURCE_DATE_EPOCH:-$(date +%s)} %{python3_sitearch}/libnvme/*.so %{python3_sitearch}/libnvme/__init__.py %{python3_sitearch}/libnvme/nvme.py +%pycache_only %{python3_sitearch}/libnvme/__pycache__ %changelog From e3e4f62eb099f4f7090978f5a2c5a60cd15f512534ffd246d0de91ef19b10390 Mon Sep 17 00:00:00 2001 From: Ana Guerrero Date: Sun, 1 Oct 2023 19:21:43 +0000 Subject: [PATCH 20/26] Accepting request 1114410 from Base:System OBS-URL: https://build.opensuse.org/request/show/1114410 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libnvme?expand=0&rev=20 --- _service | 2 +- _servicedata | 2 +- libnvme-1.4.obscpio | 3 -- libnvme-1.6.obscpio | 3 ++ libnvme.changes | 116 ++++++++++++++++++++++++++++++++++++++++++++ libnvme.obsinfo | 6 +-- libnvme.spec | 2 +- 7 files changed, 125 insertions(+), 9 deletions(-) delete mode 100644 libnvme-1.4.obscpio create mode 100644 libnvme-1.6.obscpio diff --git a/_service b/_service index 84e670f..339d793 100644 --- a/_service +++ b/_service @@ -4,7 +4,7 @@ https://github.com/linux-nvme/libnvme.git libnvme @PARENT_TAG@ - v1.4 + v1.6 v(.*) enable diff --git a/_servicedata b/_servicedata index a522142..dace462 100644 --- a/_servicedata +++ b/_servicedata @@ -1,6 +1,6 @@ https://github.com/linux-nvme/libnvme.git - a8a5d300c70fc30ffd793bb5726a4ec3d0719163 + 37a803cf77e224f66d86b1e1d9e74a15f55ea600 \ No newline at end of file diff --git a/libnvme-1.4.obscpio b/libnvme-1.4.obscpio deleted file mode 100644 index 6b91318..0000000 --- a/libnvme-1.4.obscpio +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:8f01f1a8f2c2534871372d0dd01d1023ee393049b98404b5d1bf8657818202d9 -size 2518540 diff --git a/libnvme-1.6.obscpio b/libnvme-1.6.obscpio new file mode 100644 index 0000000..515e87a --- /dev/null +++ b/libnvme-1.6.obscpio @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c08cd1ceef2bae55bd0d25fe6ea79cbdfac3561499547808f35b46fb37169af0 +size 3025932 diff --git a/libnvme.changes b/libnvme.changes index 1465638..ccb7f8f 100644 --- a/libnvme.changes +++ b/libnvme.changes @@ -1,3 +1,119 @@ +------------------------------------------------------------------- +Fri Sep 29 11:42:15 UTC 2023 - Daniel Wagner + +- Update to version 1.6: + * docs: Fix Read-the-Docs configuration (deprecated config param) + * mi-mctp: Fix free() in error path of mi_open_mctp + * types: Use NVME_SET for status type mask to get status value + * types: Define FLBAS MASK and SHIFT to use NVME_GET + * types: Support Phy Rx Eye Opening Measurement Log + * log: Add nvme root global variable to set for default output + * types: Add support for the OAQD ID controller field + * test: use non deprecated API + * test: add tests for Get/Set Features functions + * ioctl: implement nvme_set_features_lba_range() + * ioctl: pass NSID in Get/Set Features commands that use it + * ioctl: fix swapped parameters in nvme_set_features_host_id() + * ioctl: export nvme_{g,s}et_features_iocs_profile() + * ioctl: pass ENDGID in nvme_get_features_endurance_event_cfg() + * ioctl: don't set SAVE bit on unsaveable features + * ioctl: avoid sending uninitialized timestamp + * ioctl: pass data for Get/Set Features commands + * ioctl: set correct bits in Set Features commands + * ioctl: correct feature IDs in Get/Set Features commands + * tree: Add 2 new public functions to lookup existing controllers + * ioctl: Add debugging feature to show command outputs + * Fix incorrect article 'an' as 'a' to use for a description + * linux: Added functions to enable faster telemetry data retrieval. Moved telemetry data area support detection into separate function. Added possibility to modify data transfer chunk size. Enable telemetry extraction up to specified data area. Removed some printf() and perror(). + * test: account for discovery log page entry stripping + * fabrics: unconditionally strip discovery entry strings + * fabrics: only look for spaces in strchomp() + * tree: Use early return instead of else statements + * test: fix lookup test case + * test: make all function static + * test: add tests for new tcp controller matching algorithm + * tree: Improve TCP controller matching algorithm + * util: Add functions to parse the system's interfaces + * types: Add support for EGFEAT, Domain Identifier, TEGCAP and UEGCAP + * mi: remove nsid from nvme_mi_admin_identify_secondary_ctrl_list() + * test: add tests for nvme_ctrl_get_src_addr() + * tree: Add nvme_ctrl_get_src_addr() to get the controller's src_addr + * util: Split _nvme_ipaddrs_eq() from nvme_ipaddrs_eq() + * test: add tests for Identify functions + * ioctl: use available Identify helper functions + * test: pass a large enough buffer to nvme_identify_ns_descs() + * ioctl: remove nsid from nvme_identify_secondary_ctrl_list() + * meson: Don't hard-code path to "internal/config.h" + * fabrics: Do not pass disable_sqflow if not supported + * fabrics: Read the supported options lazy + * test: add discovery log page tests + * test: add infra for mocking passthru ioctls + * tree: fix segfault in nvme_scan_subsystem() + * src/nvme/tree.c: make __nvme_scan_subsystem() returning bool + * doc: fix minor mistake in README.md about dependencies + * nvme-tree: avoid warning in 'list-subsys' + * tree: Add getter for subsystem iopolicy + * fabrics: Consider also all hosts settings for context match + * tree: Scan all subsystems + * doc: Fixing compile instruction in README + * mi: allow non-4-byte-aligned responses + * mi-mctp: use a linear response buffer + * mi: implement length and offset alignment checks in admin_xfer() + * tree: Don't open nvme devices until it's absolutely required + * tree: missing closedir() causes fd leak for "/sys/bus/pci/slots" + * mi: don't return from mi_mctp_submit with a tag held + * util: Provide empty nvme_ipaddrs_eq for static builds + * fabrics: Relax match on well known disc ctrl lookup + * tree: Ignore NULL address pointer for phy slot lookup + * fabrics: Filter discovery ctrls out during application context check + * util: Add ignored error code + * json: Use memory block allocated by realloc() instead printbuf + * util: Use HAVE_NETDB instead of HAVE_LIBNSS + * tree: Add PCI physical slot number for controller + * tree: Use nvme_ipaddrs_eq() to compare IP addresses + * fabrics: Add EADDRNOTAVAIL error mapping + * fabrics: filter out subsystems with non-matching application string + * libnvme: add 'application' setting to nvme_root + * libnvme: add 'application' setting to the subsystem + * test: Add more code coverage for nvme_ipaddrs_eq() + * util: rename ipaddrs_eq() to nvme_ipaddrs_eq() and make public. + * util: Add ipaddrs_eq() to check whether two IP addresses are equal + * test: Add unit test for ctrl lookups + * ioctl: fix RAE bit on last Get Log Page command + * fabrics: check genctr after getting discovery entries + * fabrics: handle /dev/nvme-fabrics read failure + * fabrics: fix potential invalid memory access in __nvmf_supported_option() + * Python: Fix crash during garbage collection + * python/swig: Check swig version to determine whether -py3 is needed + * python/swig: Wrap swig-sensitive struct inside #ifwdef SWIG + * mi: Add nvme_mi_ctrl_id to retrieve controller ID + * Python: Suppress swig warnings about unnamed struct + * examples: fix incorrect controller status in MI info output + * ioctl: Explicitly initialize all members of struct nvme_ns_mgmt_args + * Python: make NBFT data more pythonic + * ioctl: io management send, receive args fix + * python: Update test data + * NBFT: Remove documentation from nbft.c since it's also in nbft.h + * Python: Add NBFT support + * nbft: Doc typo - Use nvme_nbft_free() instead of nbft_free() + * nbft: Parse the {HOSTID,HOSTNQN}_CONFIGURED flags + * nbft: Fix nbft_ssns_flags endianness test + * nbft: Add a simple unit test + * doc: Update README + * build: Simple muon build configuration + * build: Extend summary section + * build: Make json-c dependency lookup not fail + * nbft: Move added symbols to LIBNVME_1_5 + * build: Update wrap mode defaults + * build: Disable fallback on default + * tree: Fix offset argument check in nvme_bytes_to_lba + * nbft: add NBFT v1.0 table support + * types: Add IO command set specific field on nsmgmt + * fabrics: Do not pass unsupported options to kernel + * types: Add ns-mgmt host software specified fields + * types.h: Add FDP related Status Code + * tree: Fix argument check in nvme_bytes_to_lba + ------------------------------------------------------------------- Thu Jul 27 13:10:34 UTC 2023 - Ana Guerrero diff --git a/libnvme.obsinfo b/libnvme.obsinfo index 0fe8849..0d0c2af 100644 --- a/libnvme.obsinfo +++ b/libnvme.obsinfo @@ -1,4 +1,4 @@ name: libnvme -version: 1.4 -mtime: 1680271519 -commit: a8a5d300c70fc30ffd793bb5726a4ec3d0719163 +version: 1.6 +mtime: 1695968810 +commit: 37a803cf77e224f66d86b1e1d9e74a15f55ea600 diff --git a/libnvme.spec b/libnvme.spec index 70e107f..63f5be4 100644 --- a/libnvme.spec +++ b/libnvme.spec @@ -19,7 +19,7 @@ %define sover 1 Name: libnvme -Version: 1.4 +Version: 1.6 Release: 0 Summary: Linux-native nvme device management library License: LGPL-2.1-or-later From 73c8e150f583a6ff3f61e9015d6ff401e33dc01fceb9b73193d8e6e6acead90d Mon Sep 17 00:00:00 2001 From: Ana Guerrero Date: Thu, 5 Oct 2023 18:03:02 +0000 Subject: [PATCH 21/26] Accepting request 1115641 from Base:System OBS-URL: https://build.opensuse.org/request/show/1115641 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libnvme?expand=0&rev=21 --- libnvme.changes | 13 +++++++++++++ libnvme.spec | 12 +++++++++--- 2 files changed, 22 insertions(+), 3 deletions(-) diff --git a/libnvme.changes b/libnvme.changes index ccb7f8f..2f3f68d 100644 --- a/libnvme.changes +++ b/libnvme.changes @@ -1,3 +1,16 @@ +------------------------------------------------------------------- +Wed Oct 4 14:31:09 UTC 2023 - Daniel Wagner + +- Enable tests during build +- Set git version tag +- Drop unused make dependency + +------------------------------------------------------------------- +Wed Oct 4 10:32:55 UTC 2023 - Daniel Wagner + +- Drop unencessary minimum version depedency on meson. +- Re-enable libdbus feature. Upstream defaults changed. + ------------------------------------------------------------------- Fri Sep 29 11:42:15 UTC 2023 - Daniel Wagner diff --git a/libnvme.spec b/libnvme.spec index 63f5be4..7fb5bbc 100644 --- a/libnvme.spec +++ b/libnvme.spec @@ -18,6 +18,8 @@ %define sover 1 +%bcond_without check + Name: libnvme Version: 1.6 Release: 0 @@ -31,8 +33,7 @@ BuildRequires: gcc-c++ BuildRequires: keyutils-devel BuildRequires: libjson-c-devel BuildRequires: libuuid-devel -BuildRequires: make -BuildRequires: meson >= 0.50.0 +BuildRequires: meson BuildRequires: openssl-devel BuildRequires: python3-devel BuildRequires: swig @@ -78,9 +79,14 @@ Python binding part. %build export KBUILD_BUILD_TIMESTAMP=@${SOURCE_DATE_EPOCH:-$(date +%s)} -%meson -Ddocs=man %{?_with_docs_build:-Ddocs-build=true} +%meson -Ddocs=man %{?_with_docs_build:-Ddocs-build=true} -Dversion-tag=%{version} -Dlibdbus=enabled %meson_build +%if %{with check} +%check +%meson_test +%endif + %install %meson_install From c3168756b54d56e6a57ff643184671d012b6eb125d278336d296e7cf93e34897 Mon Sep 17 00:00:00 2001 From: Ana Guerrero Date: Wed, 11 Oct 2023 21:53:52 +0000 Subject: [PATCH 22/26] Accepting request 1116608 from Base:System OBS-URL: https://build.opensuse.org/request/show/1116608 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libnvme?expand=0&rev=22 --- libnvme.changes | 39 +++++++++++++++++++++++++++++++-------- libnvme.spec | 13 ++++++------- 2 files changed, 37 insertions(+), 15 deletions(-) diff --git a/libnvme.changes b/libnvme.changes index 2f3f68d..b7785ec 100644 --- a/libnvme.changes +++ b/libnvme.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Mon Oct 9 10:00:13 UTC 2023 - Daniel Wagner + +- Use glob for python3-libnvme file listening. Workaround pycache_only + problems for SLE/Leap builds. +- Drop usused libuuid dependency + ------------------------------------------------------------------- Wed Oct 4 14:31:09 UTC 2023 - Daniel Wagner @@ -14,7 +21,7 @@ Wed Oct 4 10:32:55 UTC 2023 - Daniel Wagner ------------------------------------------------------------------- Fri Sep 29 11:42:15 UTC 2023 - Daniel Wagner -- Update to version 1.6: +- Update to version 1.6: (jsc#PED-3610 jsc#PED-4879 jsc#PED-5061) * docs: Fix Read-the-Docs configuration (deprecated config param) * mi-mctp: Fix free() in error path of mi_open_mctp * types: Use NVME_SET for status type mask to get status value @@ -61,18 +68,19 @@ Fri Sep 29 11:42:15 UTC 2023 - Daniel Wagner * fabrics: Read the supported options lazy * test: add discovery log page tests * test: add infra for mocking passthru ioctls - * tree: fix segfault in nvme_scan_subsystem() - * src/nvme/tree.c: make __nvme_scan_subsystem() returning bool + * tree: fix segfault in nvme_scan_subsystem() (bsc#1213993) + * src/nvme/tree.c: make __nvme_scan_subsystem() returning bool (bsc#1213993) * doc: fix minor mistake in README.md about dependencies - * nvme-tree: avoid warning in 'list-subsys' - * tree: Add getter for subsystem iopolicy + * nvme-tree: avoid warning in 'list-subsys' (bsc#1212598) + * tree: Add getter for subsystem iopolicy (bsc#1124564) * fabrics: Consider also all hosts settings for context match - * tree: Scan all subsystems + * tree: Scan all subsystems (bsc#1212598) * doc: Fixing compile instruction in README * mi: allow non-4-byte-aligned responses * mi-mctp: use a linear response buffer * mi: implement length and offset alignment checks in admin_xfer() * tree: Don't open nvme devices until it's absolutely required + (bsc#1213527 bsc#1213686) * tree: missing closedir() causes fd leak for "/sys/bus/pci/slots" * mi: don't return from mi_mctp_submit with a tag held * util: Provide empty nvme_ipaddrs_eq for static builds @@ -92,8 +100,8 @@ Fri Sep 29 11:42:15 UTC 2023 - Daniel Wagner * util: rename ipaddrs_eq() to nvme_ipaddrs_eq() and make public. * util: Add ipaddrs_eq() to check whether two IP addresses are equal * test: Add unit test for ctrl lookups - * ioctl: fix RAE bit on last Get Log Page command - * fabrics: check genctr after getting discovery entries + * ioctl: fix RAE bit on last Get Log Page command (bsc#1213618) + * fabrics: check genctr after getting discovery entries (bsc#1213618) * fabrics: handle /dev/nvme-fabrics read failure * fabrics: fix potential invalid memory access in __nvmf_supported_option() * Python: Fix crash during garbage collection @@ -165,6 +173,16 @@ Fri Mar 31 15:38:35 UTC 2023 - Daniel Wagnrer * ioctl: Set file descriptor in nvme_get_log_page() * fix endians * fabrics: Do not ignore one char whitespace when string sanitizing +- Enabled unit test on s390x again (bsc#1207687, bsc#1207686) +- Fix invalid string lenght calculcation for UUID (bsc#1209906) +- Fix segmentation fault during garbage collection (bsc#1209905) +- Always sanitize traddr and trsvcid entries (bsc#1207435) +- Allow tracking unique discover controllers (bsc#1186689) + +------------------------------------------------------------------- +Mon Jan 30 14:46:55 UTC 2023 - Martin Wilck + +- temporarily disable unit tests on s390x (bsc#1207687, bsc#1207686) ------------------------------------------------------------------- Mon Jan 30 13:51:19 UTC 2023 - Daniel Wagner @@ -258,6 +276,11 @@ Tue Aug 2 18:55:31 UTC 2022 - Dirk Müller * mi-mctp: Add timeout support to MCTP transport * mi: Add maximum More Processing Required limit API * mi: Add endpoint get/set timeout API + * tree: Factor lookup code for controller (bsc#1199503) + * fabrics: Consider config from file when adding new controller (bsc#1199503) + * fabrics: Lower log level in __nvmf_add_ctrl (bsc#1199994 bsc#1199503) + * fabrics: Remove double connection error logging (bsc#1199994 bsc#1199503) + * Fixes for controller authentication (bsc#1201501 bsc#1201700 bsc#1201701 bsc#1201717) ------------------------------------------------------------------- Thu Jul 14 14:00:41 UTC 2022 - daniel.wagner@suse.com diff --git a/libnvme.spec b/libnvme.spec index 7fb5bbc..12c8402 100644 --- a/libnvme.spec +++ b/libnvme.spec @@ -32,7 +32,6 @@ BuildRequires: gcc BuildRequires: gcc-c++ BuildRequires: keyutils-devel BuildRequires: libjson-c-devel -BuildRequires: libuuid-devel BuildRequires: meson BuildRequires: openssl-devel BuildRequires: python3-devel @@ -79,7 +78,11 @@ Python binding part. %build export KBUILD_BUILD_TIMESTAMP=@${SOURCE_DATE_EPOCH:-$(date +%s)} -%meson -Ddocs=man %{?_with_docs_build:-Ddocs-build=true} -Dversion-tag=%{version} -Dlibdbus=enabled +%meson \ + -Ddocs=man \ + %{?_with_docs_build:-Ddocs-build=true} \ + -Dversion-tag=%{version} \ + -Dlibdbus=enabled %meson_build %if %{with check} @@ -115,10 +118,6 @@ export KBUILD_BUILD_TIMESTAMP=@${SOURCE_DATE_EPOCH:-$(date +%s)} %{_libdir}/%{name}-mi.so.%{sover}* %files -n python3-libnvme -%dir %{python3_sitearch}/libnvme -%{python3_sitearch}/libnvme/*.so -%{python3_sitearch}/libnvme/__init__.py -%{python3_sitearch}/libnvme/nvme.py -%pycache_only %{python3_sitearch}/libnvme/__pycache__ +%{python3_sitearch}/* %changelog From 4848d08b17494bcc58571a3d91e6cff5e164315894e34d522036c2ce5d9aa6e7 Mon Sep 17 00:00:00 2001 From: Ana Guerrero Date: Fri, 13 Oct 2023 21:14:26 +0000 Subject: [PATCH 23/26] Accepting request 1117511 from Base:System OBS-URL: https://build.opensuse.org/request/show/1117511 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libnvme?expand=0&rev=23 --- libnvme.changes | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/libnvme.changes b/libnvme.changes index b7785ec..ca53370 100644 --- a/libnvme.changes +++ b/libnvme.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Oct 12 16:50:55 UTC 2023 - Daniel Wagner + +- Add missing jsc# tracking references to changelog + ------------------------------------------------------------------- Mon Oct 9 10:00:13 UTC 2023 - Daniel Wagner @@ -128,7 +133,7 @@ Fri Sep 29 11:42:15 UTC 2023 - Daniel Wagner * build: Update wrap mode defaults * build: Disable fallback on default * tree: Fix offset argument check in nvme_bytes_to_lba - * nbft: add NBFT v1.0 table support + * nbft: add NBFT v1.0 table support (jsc#PED-1449) * types: Add IO command set specific field on nsmgmt * fabrics: Do not pass unsupported options to kernel * types: Add ns-mgmt host software specified fields @@ -143,7 +148,7 @@ Thu Jul 27 13:10:34 UTC 2023 - Ana Guerrero ------------------------------------------------------------------- Fri Mar 31 15:38:35 UTC 2023 - Daniel Wagnrer -- Update to version 1.4: +- Update to version 1.4: (jsc#PED-553 jsc#PED-3884) * fabrics: Filter out invalid UUIDs from DMI * fabrics: Add define for DMI sysinfo * Print out correct TREQ strings for discovery From a71045a7fc6043cca3f38c003ef66e2829197834f08b2c00144b6e249e04c99d Mon Sep 17 00:00:00 2001 From: Ana Guerrero Date: Thu, 19 Oct 2023 20:46:50 +0000 Subject: [PATCH 24/26] Accepting request 1118649 from Base:System OBS-URL: https://build.opensuse.org/request/show/1118649 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libnvme?expand=0&rev=24 --- _service | 4 ++-- _servicedata | 2 +- libnvme-1.6+5.g68c6ffb.obscpio | 3 +++ libnvme-1.6.obscpio | 3 --- libnvme.changes | 7 +++++++ libnvme.obsinfo | 6 +++--- libnvme.spec | 2 +- 7 files changed, 17 insertions(+), 10 deletions(-) create mode 100644 libnvme-1.6+5.g68c6ffb.obscpio delete mode 100644 libnvme-1.6.obscpio diff --git a/_service b/_service index 339d793..6f7ede0 100644 --- a/_service +++ b/_service @@ -3,8 +3,8 @@ git https://github.com/linux-nvme/libnvme.git libnvme - @PARENT_TAG@ - v1.6 + @PARENT_TAG@+@TAG_OFFSET@.g%h + 68c6ffb v(.*) enable diff --git a/_servicedata b/_servicedata index dace462..facd65a 100644 --- a/_servicedata +++ b/_servicedata @@ -1,6 +1,6 @@ https://github.com/linux-nvme/libnvme.git - 37a803cf77e224f66d86b1e1d9e74a15f55ea600 + 68c6ffb11d40a427fc1fd70ac2ac97fd01952913 \ No newline at end of file diff --git a/libnvme-1.6+5.g68c6ffb.obscpio b/libnvme-1.6+5.g68c6ffb.obscpio new file mode 100644 index 0000000..f758ea5 --- /dev/null +++ b/libnvme-1.6+5.g68c6ffb.obscpio @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f128fce36f707eb0f4f1c63ba0660d6d06327b3eabfb0b28a9d89383a1bb7786 +size 3038220 diff --git a/libnvme-1.6.obscpio b/libnvme-1.6.obscpio deleted file mode 100644 index 515e87a..0000000 --- a/libnvme-1.6.obscpio +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:c08cd1ceef2bae55bd0d25fe6ea79cbdfac3561499547808f35b46fb37169af0 -size 3025932 diff --git a/libnvme.changes b/libnvme.changes index ca53370..ee56215 100644 --- a/libnvme.changes +++ b/libnvme.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Tue Oct 17 14:38:25 UTC 2023 - Martin Wilck + +- Update to version 1.6+5.g68c6ffb: + * avoid stack corruption by unaligned DMA to user space buffers + (bsc#1216344, gh#linux-nvme/libnvme#727) + ------------------------------------------------------------------- Thu Oct 12 16:50:55 UTC 2023 - Daniel Wagner diff --git a/libnvme.obsinfo b/libnvme.obsinfo index 0d0c2af..2f21d30 100644 --- a/libnvme.obsinfo +++ b/libnvme.obsinfo @@ -1,4 +1,4 @@ name: libnvme -version: 1.6 -mtime: 1695968810 -commit: 37a803cf77e224f66d86b1e1d9e74a15f55ea600 +version: 1.6+5.g68c6ffb +mtime: 1696957866 +commit: 68c6ffb11d40a427fc1fd70ac2ac97fd01952913 diff --git a/libnvme.spec b/libnvme.spec index 12c8402..7fcaa62 100644 --- a/libnvme.spec +++ b/libnvme.spec @@ -21,7 +21,7 @@ %bcond_without check Name: libnvme -Version: 1.6 +Version: 1.6+5.g68c6ffb Release: 0 Summary: Linux-native nvme device management library License: LGPL-2.1-or-later From c461da48e0a603013fb326fd9b2dd6c271cabfedbfd6f512d8c8c1a8a9c0844e Mon Sep 17 00:00:00 2001 From: Ana Guerrero Date: Wed, 20 Dec 2023 20:00:27 +0000 Subject: [PATCH 25/26] Accepting request 1134175 from Base:System OBS-URL: https://build.opensuse.org/request/show/1134175 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libnvme?expand=0&rev=25 --- _service | 2 +- _servicedata | 2 +- libnvme-1.6+5.g68c6ffb.obscpio | 3 -- libnvme-1.7.1+0.g13ba383.obscpio | 3 ++ libnvme.changes | 50 ++++++++++++++++++++++++++++++++ libnvme.obsinfo | 6 ++-- libnvme.spec | 2 +- 7 files changed, 59 insertions(+), 9 deletions(-) delete mode 100644 libnvme-1.6+5.g68c6ffb.obscpio create mode 100644 libnvme-1.7.1+0.g13ba383.obscpio diff --git a/_service b/_service index 6f7ede0..5110f3a 100644 --- a/_service +++ b/_service @@ -4,7 +4,7 @@ https://github.com/linux-nvme/libnvme.git libnvme @PARENT_TAG@+@TAG_OFFSET@.g%h - 68c6ffb + 13ba383 v(.*) enable diff --git a/_servicedata b/_servicedata index facd65a..237a9a0 100644 --- a/_servicedata +++ b/_servicedata @@ -1,6 +1,6 @@ https://github.com/linux-nvme/libnvme.git - 68c6ffb11d40a427fc1fd70ac2ac97fd01952913 + 13ba38387e5446849ae59d3ccd8183cf9aca3145 \ No newline at end of file diff --git a/libnvme-1.6+5.g68c6ffb.obscpio b/libnvme-1.6+5.g68c6ffb.obscpio deleted file mode 100644 index f758ea5..0000000 --- a/libnvme-1.6+5.g68c6ffb.obscpio +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:f128fce36f707eb0f4f1c63ba0660d6d06327b3eabfb0b28a9d89383a1bb7786 -size 3038220 diff --git a/libnvme-1.7.1+0.g13ba383.obscpio b/libnvme-1.7.1+0.g13ba383.obscpio new file mode 100644 index 0000000..643b0e9 --- /dev/null +++ b/libnvme-1.7.1+0.g13ba383.obscpio @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:543497ebda2a823c3b6bf537343c6aacadab7d33daf8a00d59f48ef9ed277171 +size 3076108 diff --git a/libnvme.changes b/libnvme.changes index ee56215..5ba84f7 100644 --- a/libnvme.changes +++ b/libnvme.changes @@ -1,3 +1,53 @@ +------------------------------------------------------------------- +Wed Dec 20 10:10:56 UTC 2023 - Daniel Wagner + +- Update to version 1.7.1+0.g13ba383: + * tree: do no free ns on error in nvme_ns_init + +------------------------------------------------------------------- +Tue Dec 19 13:26:50 UTC 2023 - Daniel Wagner + +- Update to version 1.7+0.gf38b1d7: + * tree: do not open blk device on default + * tree: read all attributes from sysfs when available + * ioctl: set data length when retrieving LBA status + * types: fix regression for vendor-specific field in nvme_id_ns + * util: use cleanup functions + * linux: use cleanup functions + * json: use cleanup functions + * fabrics: use cleanup functions + * tree: use cleanup functions + * cleanup: add cleanup functions + * tree: fix incorrect return value + * tree: Fix clearing application strings + * libnvme: reshuffle nvme_generate_tls_key_identity() + * libnvme: fixup error codes + * libnvme: Implement 'nvme_generate_tls_key_identity()' + * libnvme: support NVMe TLS identities version 1 + * libnvme: Add base64 functions + * libnvme: separate out 'gen_tls_identity' and reshuffle 'derive_nvme_keys' + * libnvme: separate out a function 'select_hmac' + * libnvme: fix a memory leak when calling read_ssns() + * libnvme: fix a memory leak in read_discovery() + * fabrics: avoid redundant args in nvme_discovery_log() + * fabrics: have nvmf_get_discovery_log() call nvmf_get_discovery_wargs() + * fabrics: fetch smaller Discovery Log Page header + * fabrics: avoid redundant Get Log Page on retry + * fabrics: clear RAE for discovery log page commands + * json-schema: add keyring and tls_key details + * types: add Host Behavior Support field definitions + * mi: Cast values to u32 if shift overflows int + * types: Cast values to u32 if shift overflows int + * test: Avoid unaligned pointer dereferences + * nbft: Avoid unaligned pointer dereferences + * types: add cross-namespace copy formats, status codes, ONCS bits + * nvme: Add length field to Hkdf-Expand-Label computation + * ioctl: use lsp arg in nvme_get_log_boot_partition + * fabrics: use SECTYPE to determine whether to use TLS + * fabrics: Allocate aligned payloads for id_ctrl and discovery log calls + * linux: Allocate aligned payloads for id_ctrl and id_ns calls + * ioctl: MSB variable-size storage/reference tags + ------------------------------------------------------------------- Tue Oct 17 14:38:25 UTC 2023 - Martin Wilck diff --git a/libnvme.obsinfo b/libnvme.obsinfo index 2f21d30..cd32709 100644 --- a/libnvme.obsinfo +++ b/libnvme.obsinfo @@ -1,4 +1,4 @@ name: libnvme -version: 1.6+5.g68c6ffb -mtime: 1696957866 -commit: 68c6ffb11d40a427fc1fd70ac2ac97fd01952913 +version: 1.7.1+0.g13ba383 +mtime: 1703065918 +commit: 13ba38387e5446849ae59d3ccd8183cf9aca3145 diff --git a/libnvme.spec b/libnvme.spec index 7fcaa62..41c15cb 100644 --- a/libnvme.spec +++ b/libnvme.spec @@ -21,7 +21,7 @@ %bcond_without check Name: libnvme -Version: 1.6+5.g68c6ffb +Version: 1.7.1+0.g13ba383 Release: 0 Summary: Linux-native nvme device management library License: LGPL-2.1-or-later From 40b6a478d82f351c4dca783356ac6644413b646207276155253ac2dccd3c6e8b Mon Sep 17 00:00:00 2001 From: Ana Guerrero Date: Thu, 21 Dec 2023 22:38:04 +0000 Subject: [PATCH 26/26] Accepting request 1134430 from openSUSE:Factory https://bugzilla.opensuse.org/show_bug.cgi?id=1218306 OBS-URL: https://build.opensuse.org/request/show/1134430 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libnvme?expand=0&rev=26 --- _service | 2 +- _servicedata | 2 +- libnvme-1.6+5.g68c6ffb.obscpio | 3 ++ libnvme-1.7.1+0.g13ba383.obscpio | 3 -- libnvme.changes | 50 -------------------------------- libnvme.obsinfo | 6 ++-- libnvme.spec | 2 +- 7 files changed, 9 insertions(+), 59 deletions(-) create mode 100644 libnvme-1.6+5.g68c6ffb.obscpio delete mode 100644 libnvme-1.7.1+0.g13ba383.obscpio diff --git a/_service b/_service index 5110f3a..6f7ede0 100644 --- a/_service +++ b/_service @@ -4,7 +4,7 @@ https://github.com/linux-nvme/libnvme.git libnvme @PARENT_TAG@+@TAG_OFFSET@.g%h - 13ba383 + 68c6ffb v(.*) enable diff --git a/_servicedata b/_servicedata index 237a9a0..facd65a 100644 --- a/_servicedata +++ b/_servicedata @@ -1,6 +1,6 @@ https://github.com/linux-nvme/libnvme.git - 13ba38387e5446849ae59d3ccd8183cf9aca3145 + 68c6ffb11d40a427fc1fd70ac2ac97fd01952913 \ No newline at end of file diff --git a/libnvme-1.6+5.g68c6ffb.obscpio b/libnvme-1.6+5.g68c6ffb.obscpio new file mode 100644 index 0000000..f758ea5 --- /dev/null +++ b/libnvme-1.6+5.g68c6ffb.obscpio @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f128fce36f707eb0f4f1c63ba0660d6d06327b3eabfb0b28a9d89383a1bb7786 +size 3038220 diff --git a/libnvme-1.7.1+0.g13ba383.obscpio b/libnvme-1.7.1+0.g13ba383.obscpio deleted file mode 100644 index 643b0e9..0000000 --- a/libnvme-1.7.1+0.g13ba383.obscpio +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:543497ebda2a823c3b6bf537343c6aacadab7d33daf8a00d59f48ef9ed277171 -size 3076108 diff --git a/libnvme.changes b/libnvme.changes index 5ba84f7..ee56215 100644 --- a/libnvme.changes +++ b/libnvme.changes @@ -1,53 +1,3 @@ -------------------------------------------------------------------- -Wed Dec 20 10:10:56 UTC 2023 - Daniel Wagner - -- Update to version 1.7.1+0.g13ba383: - * tree: do no free ns on error in nvme_ns_init - -------------------------------------------------------------------- -Tue Dec 19 13:26:50 UTC 2023 - Daniel Wagner - -- Update to version 1.7+0.gf38b1d7: - * tree: do not open blk device on default - * tree: read all attributes from sysfs when available - * ioctl: set data length when retrieving LBA status - * types: fix regression for vendor-specific field in nvme_id_ns - * util: use cleanup functions - * linux: use cleanup functions - * json: use cleanup functions - * fabrics: use cleanup functions - * tree: use cleanup functions - * cleanup: add cleanup functions - * tree: fix incorrect return value - * tree: Fix clearing application strings - * libnvme: reshuffle nvme_generate_tls_key_identity() - * libnvme: fixup error codes - * libnvme: Implement 'nvme_generate_tls_key_identity()' - * libnvme: support NVMe TLS identities version 1 - * libnvme: Add base64 functions - * libnvme: separate out 'gen_tls_identity' and reshuffle 'derive_nvme_keys' - * libnvme: separate out a function 'select_hmac' - * libnvme: fix a memory leak when calling read_ssns() - * libnvme: fix a memory leak in read_discovery() - * fabrics: avoid redundant args in nvme_discovery_log() - * fabrics: have nvmf_get_discovery_log() call nvmf_get_discovery_wargs() - * fabrics: fetch smaller Discovery Log Page header - * fabrics: avoid redundant Get Log Page on retry - * fabrics: clear RAE for discovery log page commands - * json-schema: add keyring and tls_key details - * types: add Host Behavior Support field definitions - * mi: Cast values to u32 if shift overflows int - * types: Cast values to u32 if shift overflows int - * test: Avoid unaligned pointer dereferences - * nbft: Avoid unaligned pointer dereferences - * types: add cross-namespace copy formats, status codes, ONCS bits - * nvme: Add length field to Hkdf-Expand-Label computation - * ioctl: use lsp arg in nvme_get_log_boot_partition - * fabrics: use SECTYPE to determine whether to use TLS - * fabrics: Allocate aligned payloads for id_ctrl and discovery log calls - * linux: Allocate aligned payloads for id_ctrl and id_ns calls - * ioctl: MSB variable-size storage/reference tags - ------------------------------------------------------------------- Tue Oct 17 14:38:25 UTC 2023 - Martin Wilck diff --git a/libnvme.obsinfo b/libnvme.obsinfo index cd32709..2f21d30 100644 --- a/libnvme.obsinfo +++ b/libnvme.obsinfo @@ -1,4 +1,4 @@ name: libnvme -version: 1.7.1+0.g13ba383 -mtime: 1703065918 -commit: 13ba38387e5446849ae59d3ccd8183cf9aca3145 +version: 1.6+5.g68c6ffb +mtime: 1696957866 +commit: 68c6ffb11d40a427fc1fd70ac2ac97fd01952913 diff --git a/libnvme.spec b/libnvme.spec index 41c15cb..7fcaa62 100644 --- a/libnvme.spec +++ b/libnvme.spec @@ -21,7 +21,7 @@ %bcond_without check Name: libnvme -Version: 1.7.1+0.g13ba383 +Version: 1.6+5.g68c6ffb Release: 0 Summary: Linux-native nvme device management library License: LGPL-2.1-or-later