From c215e1c44389845d5a754da56f72827ed3a0f6ecdc0f2c4e1abeff7606406433 Mon Sep 17 00:00:00 2001 From: Daniel Wagner Date: Tue, 10 Oct 2023 07:41:36 +0000 Subject: [PATCH] Accepting request 1116605 from home:wagi:branches:Base:System - Use glob for python3-libnvme file listening. Workaround pycache_only problems for SLE/Leap builds. - Drop usused libuuid dependency - Update to version 1.6: (jsc#PED-3610 jsc#PED-4879 jsc#PED-5061) * tree: fix segfault in nvme_scan_subsystem() (bsc#1213993) * src/nvme/tree.c: make __nvme_scan_subsystem() returning bool (bsc#1213993) * nvme-tree: avoid warning in 'list-subsys' (bsc#1212598) * tree: Add getter for subsystem iopolicy (bsc#1124564) * tree: Scan all subsystems (bsc#1212598) (bsc#1213527 bsc#1213686) * ioctl: fix RAE bit on last Get Log Page command (bsc#1213618) * fabrics: check genctr after getting discovery entries (bsc#1213618) - 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) - temporarily disable unit tests on s390x (bsc#1207687, bsc#1207686) * 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) OBS-URL: https://build.opensuse.org/request/show/1116605 OBS-URL: https://build.opensuse.org/package/show/Base:System/libnvme?expand=0&rev=45 --- 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