Skip to content

Commit 27881cb

Browse files
committed
New version - 3.2.0
1 parent 8349f7a commit 27881cb

File tree

3 files changed

+241
-4
lines changed

3 files changed

+241
-4
lines changed

NEWS.rst

Lines changed: 132 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Libblockdev 3.2.0 (unreleased)
1+
Libblockdev 3.2.0
22
------------------
33

44
This release brings new smart plugin with two actual plugin implementations:
@@ -13,7 +13,137 @@ option. The latter two features are mostly provided for testing.
1313

1414
**Full list of changes**
1515

16-
TODO
16+
Giulio Benetti (1):
17+
18+
- Use glib2 G_GNUC_UNUSED in place of UNUSED locally defined
19+
20+
Jelle van der Waa (3):
21+
22+
- tests: split multi device tests into a new testcase class
23+
- tests: introduce setup_test_device helper function
24+
- btrfs: make btrfs subvolume listing consistent
25+
26+
Michal Rostecki (1):
27+
28+
- build: Fix linking with LLD
29+
30+
Stepan Yakimovich (1):
31+
32+
- crypto: Add support for conversion between different LUKS formats
33+
34+
Tomas Bzatek (35):
35+
36+
- Port to G_GNUC_INTERNAL for controlling symbols visibility
37+
- Fix some more occurrences of missing port to G_GNUC_UNUSED
38+
- dm_logging: Annotate redirect_dm_log() printf format
39+
- tests: Add NVMe persistent discovery controller tests
40+
- tests: Add NVMe controller type checks
41+
- New SMART plugin
42+
- smart: Add bd_smart_set_enabled()
43+
- smart: Add bd_smart_device_self_test()
44+
- tests: Add basic SMART tests
45+
- tests: Add SMART tests over supplied JSON dumps
46+
- tests: Add tests for bd_smart_set_enabled()
47+
- tests: Add tests for bd_smart_device_self_test()
48+
- smart: Add SCSI/SAS status retrieval
49+
- tests: Add SCSI SMART tests
50+
- smart: Remove the ATA low-power mode detection
51+
- smart: Introduce well-known attribute names, validation and pretty values
52+
- smart: Refactor and split into libbd_smartmontools
53+
- smart: Introduce new libatasmart plugin
54+
- smart: Implement bd_smart_ata_get_info_from_data()
55+
- smart: Use smartmontools drivedb.h for libatasmart validation
56+
- build: Install lvm.h when only lvm_dbus enabled
57+
- tests: Add SiliconPower SSD skdump reporting incorrect temp
58+
- smart: Rework libatasmart temperature reporting
59+
- tests: Split libatasmart and smartmontool tests
60+
- utils/exec: Refactor extra args append out
61+
- utils/exec: Add bd_utils_exec_and_capture_output_no_progress()
62+
- tests: Add bd_utils_exec_and_capture_output_no_progress() tests
63+
- smart: Add BDExtraArg arguments
64+
- tests: Adapt smart plugin tests for the added extra arguments
65+
- tests: Fix smartmontools plugin parsing of /dev/random
66+
- tests: Add more libatasmart skdump samples
67+
- nvme: Fix potential memory leak
68+
- smart: Mark drivedb integration as experimental
69+
- smart: Add documentation
70+
- NEWS: add preliminary release notes for the smart plugin
71+
72+
Vojtech Trefny (60):
73+
74+
- Makefile: Do not include release in the tag
75+
- Makefile: Fix bumpver to work with micro versions
76+
- tests: Manually remove removed PVs from LVM devices file
77+
- tests: Ignore LVM devices file for non-LVM tests
78+
- tests: Fix removing custom LVM devices file
79+
- nvme: Add bd_nvme_is_tech_avail to the API file
80+
- lvm-dbus: Fix passing size for pvresize over DBus
81+
- lvm-dbus: Fix potential segfault in bd_lvm_init
82+
- lvm-dbus: Fix leaking error in bd_lvm_init
83+
- crypto: Fix double free in bd_crypto_luks_remove_key
84+
- utils: Clarify usage of version in bd_utils_check_util_version
85+
- Bump version to 3.1.1
86+
- ci: Set custom release number for Packit
87+
- tests: Fix running tests without ntfsprogs
88+
- ci: Get version for packit from the SPEC file
89+
- ci: Fix bumping release for Packit builds
90+
- tests: Skip filesystem tests if kernel module is not available
91+
- misc: Vagrantfile update
92+
- misc: Remove CentOS 8 Stream from Vagrantfile and test dependencies
93+
- Fix pylint possibly-used-before-assignment warning in BlockDev.py
94+
- utils: Check also for aliases in bd_utils_have_kernel_module
95+
- tests: Skip ExFAT UUID tests with recent exfatprogs
96+
- fs: Ignore unused-parameter warning in the FS plugin
97+
- fs: Ignore shift-count-overflow warning in FS plugin
98+
- fs: Fix ignoring errors from libext2fs
99+
- ci: Use Ubuntu 24.04 in GitHub actions
100+
- misc: Fix enabling source repositories on latest Ubuntu
101+
- ci: Run Blivet reverse dependency tests on pull requests
102+
- ci: Add a simple tmt test and run it via packit
103+
- misc: Add kernel-modules-extra to test dependencies
104+
- ci: Run UDisks reverse dependency tests on pull requests
105+
- tests: Skip exFAT UUID tests also on Fedora 39
106+
- docs: Fix link to Python bindings documentation
107+
- part: Fix copy-paste bug in bd_part_spec_copy
108+
- infra: Add dependabot to automatically update GH actions
109+
- lvm: Check for dm-vdo instead of kvdo module for VDO support
110+
- lvm: Get VDO stats from device mapper instead of /sys/kvdo
111+
- misc: Add vdo to test dependencies on Fedora
112+
- tests: Temporarily skip LVM VDO tests on RHEL/CentOS 10
113+
- crypto: Show error when trying using an invalid DM name
114+
- part: Add human readable partition type to BDPartSpec
115+
- fs: Fix docstring for bd_fs_ext?_get_min_size functions
116+
- tests: No longer need to skip exfat UUID tests on Fedora
117+
- crypto: Add a function to check for OPAL support for a device
118+
- crypto: Add a function to wipe a LUKS HW-OPAL device
119+
- crypto: Add information about HW encryption to BDCryptoLUKSInfo
120+
- crypto: Add support for creating new LUKS HW-OPAL devices
121+
- tests: Add a simple test case for LUKS HW-OPAL support
122+
- crypto: Check for kernel SED OPAL support for OPAL operations
123+
- ci: Remove priority from Testing farm repositories
124+
- crypto: Add a function to run OPAL PSID reset
125+
- tests: Fix skipping VDO tests on Debian and CentOS 10
126+
- crypto: Fix name of bd_crypto_opal_wipe_device in crypto.h
127+
- crypto: Fixing missing quotation marks in some error messages
128+
- docs: Add BDCryptoLUKSHWEncryptionType to libblockdev-sections.txt
129+
- docs: Fix documentation for the SMART plugin
130+
- part: Document type_name in BDPartSpec docstring
131+
- misc: Fix typos
132+
- crypto: Fix GType macro for crypto context
133+
- ci: Add a simple GH action to run spelling tools on our code
134+
135+
Vratislav Podzimek (1):
136+
137+
- Add cache size ratio to the output of lvm-cache-stats
138+
139+
dependabot[bot] (2):
140+
141+
- infra: bump actions/upload-artifact from 3 to 4
142+
- infra: bump github/codeql-action from 2 to 3
143+
144+
guazhang (1):
145+
146+
- fixed md_create issue #1013
17147

18148
Libblockdev 3.1.1
19149
------------------

configure.ac

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# configure.ac for libblockdev
22

3-
AC_INIT([libblockdev], [3.1.1], [], [], [https://github.com/storaged-project/libblockdev])
3+
AC_INIT([libblockdev], [3.2.0], [], [], [https://github.com/storaged-project/libblockdev])
44

55
# Disable building static libraries.
66
# This needs to be set before initializing automake

dist/libblockdev.spec.in

Lines changed: 108 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@
8585
%define configure_opts %{?python3_copts} %{?lvm_dbus_copts} %{?btrfs_copts} %{?crypto_copts} %{?dm_copts} %{?loop_copts} %{?lvm_copts} %{?lvm_dbus_copts} %{?mdraid_copts} %{?mpath_copts} %{?swap_copts} %{?part_copts} %{?fs_copts} %{?nvdimm_copts} %{?tools_copts} %{?gi_copts} %{?nvme_copts} %{?smart_copts} %{?smartmontools_copts}
8686

8787
Name: libblockdev
88-
Version: 3.1.1
88+
Version: 3.2.0
8989
Release: 1%{?dist}
9090
Summary: A library for low-level manipulation with block devices
9191
License: LGPL-2.1-or-later
@@ -946,6 +946,113 @@ find %{buildroot} -type f -name "*.la" | xargs %{__rm}
946946
%files plugins-all
947947

948948
%changelog
949+
* Tue Sep 10 2024 Vojtech Trefny <[email protected]> - 3.2.0-1
950+
- ci: Add a simple GH action to run spelling tools on our code (vtrefny)
951+
- crypto: Fix GType macro for crypto context (vtrefny)
952+
- misc: Fix typos (vtrefny)
953+
- part: Document type_name in BDPartSpec docstring (vtrefny)
954+
- docs: Fix documentation for the SMART plugin (vtrefny)
955+
- docs: Add BDCryptoLUKSHWEncryptionType to libblockdev-sections.txt (vtrefny)
956+
- crypto: Fixing missing quotation marks in some error messages (vtrefny)
957+
- crypto: Fix name of bd_crypto_opal_wipe_device in crypto.h (vtrefny)
958+
- tests: Fix skipping VDO tests on Debian and CentOS 10 (vtrefny)
959+
- crypto: Add a function to run OPAL PSID reset (vtrefny)
960+
- ci: Remove priority from Testing farm repositories (vtrefny)
961+
- NEWS: add preliminary release notes for the smart plugin (tbzatek)
962+
- smart: Add documentation (tbzatek)
963+
- crypto: Check for kernel SED OPAL support for OPAL operations (vtrefny)
964+
- tests: Add a simple test case for LUKS HW-OPAL support (vtrefny)
965+
- crypto: Add support for creating new LUKS HW-OPAL devices (vtrefny)
966+
- crypto: Add information about HW encryption to BDCryptoLUKSInfo (vtrefny)
967+
- crypto: Add a function to wipe a LUKS HW-OPAL device (vtrefny)
968+
- crypto: Add a function to check for OPAL support for a device (vtrefny)
969+
- tests: No longer need to skip exfat UUID tests on Fedora (vtrefny)
970+
- smart: Mark drivedb integration as experimental (tbzatek)
971+
- fs: Fix docstring for bd_fs_ext?_get_min_size functions (vtrefny)
972+
- part: Add human readable partition type to BDPartSpec (vtrefny)
973+
- crypto: Show error when trying using an invalid DM name (vtrefny)
974+
- nvme: Fix potential memory leak (tbzatek)
975+
- tests: Temporarily skip LVM VDO tests on RHEL/CentOS 10 (vtrefny)
976+
- misc: Add vdo to test dependencies on Fedora (vtrefny)
977+
- lvm: Get VDO stats from device mapper instead of /sys/kvdo (vtrefny)
978+
- lvm: Check for dm-vdo instead of kvdo module for VDO support (vtrefny)
979+
- infra: bump github/codeql-action from 2 to 3 (49699333+dependabot[bot])
980+
- infra: bump actions/upload-artifact from 3 to 4 (49699333+dependabot[bot])
981+
- infra: Add dependabot to automatically update GH actions (vtrefny)
982+
- part: Fix copy-paste bug in bd_part_spec_copy (vtrefny)
983+
- docs: Fix link to Python bindings documentation (vtrefny)
984+
- tests: Add more libatasmart skdump samples (tbzatek)
985+
- tests: Fix smartmontools plugin parsing of /dev/random (tbzatek)
986+
- tests: Adapt smart plugin tests for the added extra arguments (tbzatek)
987+
- smart: Add BDExtraArg arguments (tbzatek)
988+
- tests: Add bd_utils_exec_and_capture_output_no_progress() tests (tbzatek)
989+
- utils/exec: Add bd_utils_exec_and_capture_output_no_progress() (tbzatek)
990+
- tests: Skip exFAT UUID tests also on Fedora 39 (vtrefny)
991+
- ci: Run UDisks reverse dependency tests on pull requests (vtrefny)
992+
- utils/exec: Refactor extra args append out (tbzatek)
993+
- misc: Add kernel-modules-extra to test dependencies (vtrefny)
994+
- ci: Add a simple tmt test and run it via packit (vtrefny)
995+
- ci: Run Blivet reverse dependency tests on pull requests (vtrefny)
996+
- Add cache size ratio to the output of lvm-cache-stats (v.podzimek)
997+
- misc: Fix enabling source repositories on latest Ubuntu (vtrefny)
998+
- ci: Use Ubuntu 24.04 in GitHub actions (vtrefny)
999+
- fs: Fix ignoring errors from libext2fs (vtrefny)
1000+
- fs: Ignore shift-count-overflow warning in FS plugin (vtrefny)
1001+
- fs: Ignore unused-parameter warning in the FS plugin (vtrefny)
1002+
- tests: Skip ExFAT UUID tests with recent exfatprogs (vtrefny)
1003+
- tests: Split libatasmart and smartmontool tests (tbzatek)
1004+
- smart: Rework libatasmart temperature reporting (tbzatek)
1005+
- tests: Add SiliconPower SSD skdump reporting incorrect temp (tbzatek)
1006+
- build: Install lvm.h when only lvm_dbus enabled (tbzatek)
1007+
- smart: Use smartmontools drivedb.h for libatasmart validation (tbzatek)
1008+
- smart: Implement bd_smart_ata_get_info_from_data() (tbzatek)
1009+
- smart: Introduce new libatasmart plugin (tbzatek)
1010+
- smart: Refactor and split into libbd_smartmontools (tbzatek)
1011+
- smart: Introduce well-known attribute names, validation and pretty values (tbzatek)
1012+
- smart: Remove the ATA low-power mode detection (tbzatek)
1013+
- tests: Add SCSI SMART tests (tbzatek)
1014+
- smart: Add SCSI/SAS status retrieval (tbzatek)
1015+
- tests: Add tests for bd_smart_device_self_test() (tbzatek)
1016+
- tests: Add tests for bd_smart_set_enabled() (tbzatek)
1017+
- tests: Add SMART tests over supplied JSON dumps (tbzatek)
1018+
- tests: Add basic SMART tests (tbzatek)
1019+
- smart: Add bd_smart_device_self_test() (tbzatek)
1020+
- smart: Add bd_smart_set_enabled() (tbzatek)
1021+
- New SMART plugin (tbzatek)
1022+
- utils: Check also for aliases in bd_utils_have_kernel_module (vtrefny)
1023+
- Fix pylint possibly-used-before-assignment warning in BlockDev.py (vtrefny)
1024+
- build: Fix linking with LLD (vadorovsky)
1025+
- misc: Remove CentOS 8 Stream from Vagrantfile and test dependencies (vtrefny)
1026+
- misc: Vagrantfile update (vtrefny)
1027+
- tests: Skip filesystem tests if kernel module is not available (vtrefny)
1028+
- ci: Fix bumping release for Packit builds (vtrefny)
1029+
- ci: Get version for packit from the SPEC file (vtrefny)
1030+
- tests: Fix running tests without ntfsprogs (vtrefny)
1031+
- ci: Set custom release number for Packit (vtrefny)
1032+
- Bump version to 3.1.1 (vtrefny)
1033+
- utils: Clarify usage of version in bd_utils_check_util_version (vtrefny)
1034+
- crypto: Fix double free in bd_crypto_luks_remove_key (vtrefny)
1035+
- fixed md_create issue #1013 (guazhang)
1036+
- lvm-dbus: Fix leaking error in bd_lvm_init (vtrefny)
1037+
- lvm-dbus: Fix potential segfault in bd_lvm_init (vtrefny)
1038+
- lvm-dbus: Fix passing size for pvresize over DBus (vtrefny)
1039+
- nvme: Add bd_nvme_is_tech_avail to the API file (vtrefny)
1040+
- tests: Add NVMe controller type checks (tbzatek)
1041+
- tests: Add NVMe persistent discovery controller tests (tbzatek)
1042+
- btrfs: make btrfs subvolume listing consistent (jvanderwaa)
1043+
- crypto: Add support for conversion between different LUKS formats (xyakimo1)
1044+
- tests: Fix removing custom LVM devices file (vtrefny)
1045+
- tests: Ignore LVM devices file for non-LVM tests (vtrefny)
1046+
- tests: Manually remove removed PVs from LVM devices file (vtrefny)
1047+
- tests: introduce setup_test_device helper function (jvanderwaa)
1048+
- tests: split multi device tests into a new testcase class (jvanderwaa)
1049+
- dm_logging: Annotate redirect_dm_log() printf format (tbzatek)
1050+
- Fix some more occurrences of missing port to G_GNUC_UNUSED (tbzatek)
1051+
- Port to G_GNUC_INTERNAL for controlling symbols visibility (tbzatek)
1052+
- Use glib2 G_GNUC_UNUSED in place of UNUSED locally defined (giulio.benetti)
1053+
- Makefile: Fix bumpver to work with micro versions (vtrefny)
1054+
- Makefile: Do not include release in the tag (vtrefny)
1055+
9491056
* Tue Mar 26 2024 Vojtech Trefny <[email protected]> - 3.1.1-1
9501057
- lvm-dbus: Fix passing size for pvresize over DBus (vtrefny)
9511058
- nvme: Add bd_nvme_is_tech_avail to the API file (vtrefny)

0 commit comments

Comments
 (0)