Commit Graph

31 Commits

Author SHA1 Message Date
Daniel Golle 20cc530004 lvm2: update to LVM2 2.03.17 and libdm Version 1.02.187
LVM2 Version 2.03.17 - 10th November 2022
=========================================
  Add new options (--fs, --fsmode) for FS handling when resizing LVs.
  Fix 'lvremove -S|--select LV' to not also remove its historical LV right away.
  Fix lv_active field type to binary so --select and --binary applies properly.
  Switch to use mallinfo2 and use it only with glibc.
  Error out in lvm shell if using a cmd argument not supported in the shell.
  Fix lvm shell's lastlog command to report previous pre-command failures.
  Extend VDO and VDOPOOL without flushing and locking fs.
  Add --valuesonly option to lvmconfig to print only values without keys.
  Updates configure with recent autoconf tooling.
  Fix lvconvert --test --type vdo-pool execution.
  Add json_std output format for more JSON standard compliant version of output.
  Fix vdo_slab_size_mb value for converted VDO volume.
  Fix many corner cases in device_id, including handling of S/N duplicates.
  Fix various issues in lvmdbusd.

DM Version 1.02.187 - 10th November 2022
========================================
  Add DM_REPORT_GROUP_JSON_STD for more JSON standard compliant output format.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2024-04-04 03:58:39 +01:00
Daniel Golle 4db53132ba lvm2: update LVM2 to 2.03.22 and DM to 1.02.196
Remove downstream patch 004-missing-includes.patch which was merged
upstream in version 2.03.19

LVM2 changelog since version 2.03.17
version 2.03.22 - 02nd August 2023
==================================
  Fix pv_major/pv_minor report field types so they are integers, not strings.
  Add lvmdevices --delnotfound to delete entries for missing devices.
  Always use cachepool name for metadata backup LV for lvconvert --repair.
  Make metadata backup LVs read-only after pool's lvconvert --repair.
  Improve VDO and Thin support with lvmlockd.
  Handle 'lvextend --usepolicies' for pools for all activation variants.
  Fix memleak in vgchange autoactivation setup.
  Update py-compile building script.
  Support conversion from thick to fully provisioned thin LV.
  Cache/Thin-pool can use error and zero volumes for testing.
  Individual thin volume can be cached, but cannot take snapshot.
  Better internal support for handling error and zero target (for testing).
  Resize COW above trimmed maximal size is does not return error.
  Support parsing of vdo geometry format version 4.
  Add lvm.conf thin_restore and cache_restore settings.
  Handle multiple mounts while resizing volume with a FS.
  Handle leading/trailing spaces in sys_wwid and sys_serial used by deivce_id.
  Enhance lvm_import_vdo and use snapshot when converting VDO volume.
  Fix parsing of VDO metadata.
  Fix failing -S|--select for non-reporting cmds if using LV info/status fields.
  Allow snapshots of raid+integrity LV.
  Fix multisegment RAID1 allocator to prevent using single disk for more legs.

version 2.03.21 - 21st April 2023
=================================
  Fix activation of vdo-pool for with 0 length headers (converted pools).
  Avoid printing internal init messages when creation integration devices.
  Allow (write)cache over raid+integrity LV.

version 2.03.20 - 21st March 2023
=================================
  Fix segfault if using -S|--select with log/report_command_log=1 setting.
  Configure now fails when requested lvmlockd dependencies are missing.
  Add some configure Gentoo enhancements for static builds.

version 2.03.19 - 21st February 2023
====================================
  Configure supports --with-systemd-run executed from udev rules.
  Enhancement for build with MuslC systemd and non-bash system shells (dash).
  Do not reset SYSTEMD_READY variable in udev for PVs on MD and loop devices.
  Ensure udev is processing origin LV before its thick snapshots LVs.
  Fix and improve runtime memory size detection for VDO volumes.

version 2.03.18 - 22nd December 2022
====================================
  Fix issues reported by coverity scan.
  Fix warning for thin pool overprovisioning on lvextend (2.03.17).
  Add support for writecache metadata_only and pause_writeback settings.
  Fix missing error messages in lvmdbusd.

DM changelog since version 1.02.187:

Version 1.02.196 - 02nd August 2023
===================================

Version 1.02.195 - 21st April 2023
==================================

Version 1.02.193 - 21st March 2023
==================================

Version 1.02.191 - 21st February 2023
=====================================
  Improve parallel creation of /dev/mapper/control device node.
  Import previous ID_FS_* udev records in 13-dm-disk.rules for suspended DM dev.
  Remove NAME="mapper/control" rule from 10-dm.rules to avoid udev warnings.

Version 1.02.189 - 22nd December 2022
=====================================
  Improve 'dmsetup create' without given table line with new kernels.

(Version 1.02.188 is missing)

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2023-08-05 12:15:55 +01:00
Daniel Golle 68adeddf31 lvm2: update LVM2 to 2.03.17 and DM to 1.02.187
Version 2.03.17 - 10th November 2022
====================================
  Add new options (--fs, --fsmode) for FS handling when resizing LVs.
  Fix 'lvremove -S|--select LV' to not also remove its historical LV right away.
  Fix lv_active field type to binary so --select and --binary applies properly.
  Switch to use mallinfo2 and use it only with glibc.
  Error out in lvm shell if using a cmd argument not supported in the shell.
  Fix lvm shell's lastlog command to report previous pre-command failures.
  Extend VDO and VDOPOOL without flushing and locking fs.
  Add --valuesonly option to lvmconfig to print only values without keys.
  Updates configure with recent autoconf tooling.
  Fix lvconvert --test --type vdo-pool execution.
  Add json_std output format for more JSON standard compliant version of output.
  Fix vdo_slab_size_mb value for converted VDO volume.
  Fix many corner cases in device_id, including handling of S/N duplicates.
  Fix various issues in lvmdbusd.

libdm changes:
Version 1.02.187 - 10th November 2022
=====================================
  Add DM_REPORT_GROUP_JSON_STD for more JSON standard compliant output format.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2022-12-20 01:41:02 +00:00
Daniel Golle 63408123df lvm2: update to 2.03.15
Version 2.03.15 - 07th February 2022
====================================
  Remove service based autoactivation. global/event_activation = 0 is NOOP.
  Improve support for metadata profiles for --type writecache.
  Use cache or active DM device when available with new kernels.
  Introduce function to utilize UUIDs from DM_DEVICE_LIST.
  Increase some hash table size to better support large device sets.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2022-03-18 23:47:14 +00:00
Daniel Golle 74969337cf
lvm2: update to version 2.03.14
Drop two local patches which were replaced by upstream commits.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2021-11-15 02:16:36 +00:00
Daniel Golle f20f69e63b
lvm2: update to version 2.03.13
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2021-08-16 14:35:10 +01:00
Daniel Golle dc27d43f29
lvm2: update to version 2.03.12
Two notable changes are devices file and metadata based autoactivation.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2021-05-10 04:20:52 +01:00
Ilya Lipnitskiy 5d8d4fbbcb
treewide: Run refresh on all packages
The crude loop I wrote to come up with this changeset:

  find -L package/feeds/packages/ -name patches | \
  sed 's/patches$/refresh/' | sort | xargs make

Signed-off-by: Ilya Lipnitskiy <ilya.lipnitskiy@gmail.com>
2021-02-20 16:02:15 -08:00
Rosen Penev 744568fd31 lvm2: pass CC explicitly
It seems that in some situations, the host CC gets picked up. Just pass
the target one explicitly.

Refreshed patches.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-12-20 17:24:18 +00:00
Rosen Penev 78360ebdda
lvm2: update to 2.03.08
Add PKG_BUILD_PARALLEL for faster compilation.

Replace '  ' with TAB for consistency between packages.

Refresh patches and remove outdated ones.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-03-04 20:21:30 -08:00
Rosen Penev 154abade7a lvm2: Update to 2.03.01
Moved libblkid depend to fix compilation

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2018-11-10 13:41:42 -08:00
Rosen Penev 307ac69e60 LVM2: Update to 2.02.81
Switch to upstream URL.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2018-08-14 22:28:07 -07:00
Daniel Golle d947a6cd79 lvm2: update to version 2.02.176
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2017-11-07 01:30:02 +01:00
Daniel Golle 0d3a10e3b4 lvm2: update to version 2.02.164
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2016-09-01 22:18:58 +02:00
Daniel Golle 8edcafcf11 lvm2: fix accidentally augmented goto label
also refresh patches while at it

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2016-05-20 06:39:57 +02:00
Daniel Golle edbd16954b lvm2: update to version 2.02.145
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2016-03-09 02:44:54 +01:00
Daniel Golle 9377520afd lvm2: update to version 2.02.138
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2015-12-26 02:21:27 +01:00
Daniel Golle c6e4be6b25 lvm2: update to version 2.02.132
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2015-10-05 12:57:03 +02:00
Daniel Golle ab413cbcf5 lvm2: update to version 2.02.130
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2015-09-07 19:46:07 +02:00
Daniel Golle f4816e2ba1 lvm2: update source, refresh patch
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2015-07-26 23:35:10 +02:00
Daniel Golle b1cba322fa lvm2: update sources
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2015-07-13 14:56:26 +02:00
Daniel Golle 25660aad62 lvm2: update sources and improve packaging
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2015-07-07 09:36:05 +02:00
Daniel Golle 8037b27375 lvm2: update sources
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2015-06-21 21:33:25 +02:00
Daniel Golle 3a81a9b9fa lvm2: update source and refresh patches
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2015-06-14 22:20:07 +02:00
Daniel Golle 3a98dd9f31 lvm2: switch to version 2.2.02.120
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2015-05-20 01:18:14 +02:00
Daniel Golle 855fdd21d1 lvm2: finally fix memory locking issues on musl
Always use mlockall fixes it, still trying to keep everything else
as untouched as possible.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2015-05-03 15:59:58 +02:00
Daniel Golle 142a24a10b lvm2: better workaround for missing mallinfo on musl
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2015-05-03 14:47:28 +02:00
Daniel Golle f5cc8c27d7 lvm2: fix build with musl
stdin, stderr and stdout are constants on musl and it doesn't provide
mallinfo.
Both, overwriting std* were used to catch and work around various
misbehaviours of glibc, so it's hopefully save to just skip them when
building against other libc implementations.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2015-04-25 23:45:14 +02:00
Daniel Golle fc81d14100 lvm2: bump version
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2015-04-02 04:16:54 +02:00
Daniel Golle 2e3de14cc3 lvm2: bump version to 2.02.113
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2014-11-27 14:04:29 +01:00
Daniel Golle 1a911c1fe5 lvm2: add from old repo and update
Also add patch to fix blkid header location as suggested in #17877

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2014-10-19 01:01:14 +02:00