* Use glib2 G_GNUC_UNUSED in place of UNUSED locally defined
* Port to G_GNUC_INTERNAL for controlling symbols visibility
* Fix some more occurrences of missing port to G_GNUC_UNUSED
* dm_logging: Annotate redirect_dm_log() printf format
* tests: Add NVMe persistent discovery controller tests
* tests: Add NVMe controller type checks
* Makefile: Fix bumpver to work with micro versions
* tests: Manually remove removed PVs from LVM devices file
* tests: Ignore LVM devices file for non-LVM tests
* tests: Fix removing custom LVM devices file
* nvme: Add bd_nvme_is_tech_avail to the API file
* lvm-dbus: Fix passing size for pvresize over DBus
replaced by LVM VDO)
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libblockdev?expand=0&rev=58
- Update to 3.1.0:
* Add BDPluginSpec constructor and use it in plugin_specs_from_names
* overrides: Remove unused 'sys' import
* swap: Add support for checking label and UUID format
* fs: Add a function to check label format for F2FS
* fs: Add a generic function to check for fs info availability
* fs: Fix allowed UUID for generic mkfs with VFAT
* fs: Add support for getting filesystem min size for NTFS and Ext
* Mark NVDIMM plugin as deprecated since 3.1
* part: Fix potential double free when getting parttype
* Fix missing progress initialization in bd_crypto_luks_add_key
* lvm-dbus: Fix leaking error
* lvm-dbus: Avoid using already-freed memory
* utils: Add expected printf string annotation
* fs: Report reason for open() and ioctl() failures
OBS-URL: https://build.opensuse.org/request/show/1146122
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libblockdev?expand=0&rev=56
- Update to 3.0.4:
* plugins: use g_autofree for free'ing g_char's
* plugins: btrfs: use g_autofree where possible for g_free
* fs: correct btrfs set label description
* nvme: Rework memory allocation for device ioctls
* spec: Obsolete vdo plugin packages
* spec: Move obsoleted devel subpackages to libblockdev-devel
* ci: Bump actions/checkout from v3 to v4
* part: Do not open disk read-write for read only operations
* fs: Disable progress for ntfsresize
* packit: Add configuration for downstream builds
* logging: Default to DEBUG log level if compiled with --enable-debug
* Use log function when calling a plugin function that is not loaded
* lvm-dbus: Replace g_critical calls with bd_utils_log_format
* tests: Fail early when recompilation fails in library_test
OBS-URL: https://build.opensuse.org/request/show/1117603
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libblockdev?expand=0&rev=52
- Update to 3.0.1:
* VDO a KBD plugins were removed.
* New NVMe plugin was added.
* Runtime dependencies are no longer checked during plugin
initialization.
* Part plugin was rewritten to use libfdisk instead of libparted
* Crypto plugin API went through an extensive rewrite.
* Support for new technologies was added to the crypto plugin:
FileVault2 encryption, DM Integrity, LUKS2 tokens.
* Filesystem plugin adds support for btrfs, F2FS, NILFS2,
exFAT and UDF.
* Support for new filesystem operations was added to the plugin:
setting label and UUID, generic mkfs function and API
for getting feature support for filesystems.
* dmraid support was removed from the DM plugin.
* Python 2 support was dropped.
* loop: define LOOP_SET_BLOCK_SIZE is not defined
* crypto: Remove stray struct redefinition
* fs: Simplify struct BDFSInfo
* vdo_stats: Remove unused libparted include
* lvm: Make _vglock_start_stop static
* fs: Add missing copy and free functions to the header file
- Drop no longer needed libblockdev-fix-libkmod-include.patch
OBS-URL: https://build.opensuse.org/request/show/1097042
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libblockdev?expand=0&rev=46
- update to 2.28:
* lvm: Fix bd_lvm_get_supported_pe_sizes in Python on 32bit
* tests: Create bigger devices for XFS tests
* tests: Use ext instead of xfs in MountTestCase.test_mount_ro_device
* mpath: Memory leak fix
* spec: Require the same version utils from plugins
* mdraid: Try harder to get container UUID in bd_md_detail
* Add a test case for DDF arrays/containers
* mdraid: Do not ignore errors from bd_md_canonicalize_uuid in bd_md_examine
* mdraid: Try harder to get container UUID in bd_md_examine
* mdraid: Fix copy-paste error when checking return value
* tests: Wait for raid and mirrored LVs to be synced before removing
* tests: Make smaller images for test_lvcreate_type
* dm: Fix comparing DM RAID member devices UUID
* mdraid: Fix use after free
* ci: Add .lgtm.yaml config for LGTM
* ci: Add GitHub actions for running rpmbuilds and csmock
* mpath: Fix potential NULL pointer dereference
OBS-URL: https://build.opensuse.org/request/show/1008766
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libblockdev?expand=0&rev=44
- Update to version 2.27:
+ Fix for s390x: Remove double fclose in bd_s390_dasd_online
+ fs: Return BD_FS_ERROR_UNKNOWN_FS on mounting unknown
filesystem
+ overrides: Fix translating exceptions in ErrorProxy
+ vdo_stats: Default to 100 % savings for invalid savings values
+ lvm-dbus: Add support for changing compression and
deduplication
+ lvm:
- Fix reading statistics for VDO pools with VDO 8
- Do not set global config to and empty string
- Do not include duplicate entries in bd_lvm_lvs output
- Use correct integer type in for comparison
+ crypto: Remove useless comparison in progress report in
luks_format
OBS-URL: https://build.opensuse.org/request/show/991754
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libblockdev?expand=0&rev=18
- Update to version 2.27:
* Fix for s390x: Remove double fclose in bd_s390_dasd_online (#2045784)
* fs: Return BD_FS_ERROR_UNKNOWN_FS on mounting unknown filesystem
* overrides: Fix translating exceptions in ErrorProxy
* vdo_stats: Default to 100 % savings for invalid savings values
* lvm: Fix reading statistics for VDO pools with VDO 8
* lvm-dbus: Add support for changing compression and deduplication
* lvm: Do not set global config to and empty string
* lvm: Do not include duplicate entries in bd_lvm_lvs output
* lvm: Use correct integer type in for comparison
* crypto: Remove useless comparison in progress report in luks_format
OBS-URL: https://build.opensuse.org/request/show/991523
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libblockdev?expand=0&rev=41
- update to 2.25:
* exec: Fix polling for stdout and stderr
* exec: Use non-blocking read and process the buffer manually
* exec: Clarify the BDUtilsProgExtract callback documentation
* tests: Add bufferbloat exec tests
* tests: Add null-byte exec tests
* lvm: Fix bd_lvm_vdopooldata_* symbols
* exec: Fix setting locale for util calls
* fs: Do not report error when errors were fixed by e2fsck
* README: Use CI status image for 2.x-branch on 2.x
* fs: Fix compile error in ext_repair caused by cherry pick from master
* Mark all GIR file constants as guint64
* lvm: Set thin metadata limits to match limits LVM uses in lvcreate
* lvm: Do not use thin_metadata_size to recommend thin metadata size
* lvm: Use the UNUSED macro instead of __attribute__((unused))
* Fix max size limit for LVM thinpool metadata
* loop: Retry LOOP_SET_STATUS64 on EAGAIN
OBS-URL: https://build.opensuse.org/request/show/864582
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libblockdev?expand=0&rev=33
* VDO plugin has been deprecated in this release (functionality replaced by LVM VDO)
* support for creating and managing LVM VDO volumes added
* support for unlocking of BitLocker-compatible format BITLK added
* new functions for (un)freezing filesystems added
* test suite can now be run against installed version of libblockdev
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libblockdev?expand=0&rev=31
- Update to version 2.22:
+ New minor release of the libblockdev library with multiple
fixes.
+ nvdimm: New function for getting list of supported sector sizes
for namespaces fixes.
+ Multiple memory leaks fixed.
- Changes from version 2.21:
+ crypto: Default key size for LUKS was changed to 512bit.
+ tools:
- New simple cli tools that use libblockdev.
- First tool is lvm-cache-stats for displaying stats for LVM
cache devices.
- Use configure option --without-tools to disable building
these.
- Package new cli tool in main package, should possibly be moved
into own sub-package in the future.
OBS-URL: https://build.opensuse.org/request/show/709802
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libblockdev?expand=0&rev=25