[lvm2] New upstream, using device-mapper-persistent-data.

Alasdair Kergon agk at fedoraproject.org
Mon Jun 18 17:07:38 UTC 2012


commit e4104ab6f2415f7a592182fcf8aba676625026a9
Author: Alasdair G Kergon <agk at redhat.com>
Date:   Mon Jun 18 18:07:05 2012 +0100

    New upstream, using device-mapper-persistent-data.

 .gitignore                                         |    1 +
 LVM2.2.02.95.tgz.asc                               |    7 -
 LVM2.2.02.96.tgz.asc                               |    7 +
 ...ect-lvm-binary-path-in-lvmetad-udev-rules.patch |   21 --
 ...nsupported-udev_get_dev_path-libudev-call.patch |  202 --------------------
 ...n-cache-instead-of-vgscan-in-init-scripts.patch |   39 ----
 lvm2.spec                                          |   88 ++++++++-
 sources                                            |    2 +-
 upstream                                           |    2 +-
 9 files changed, 88 insertions(+), 281 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 46a2621..4108de9 100644
--- a/.gitignore
+++ b/.gitignore
@@ -4,3 +4,4 @@
 /LVM2.2.02.93.tgz
 /LVM2.2.02.94.tgz
 /LVM2.2.02.95.tgz
+/LVM2.2.02.96.tgz
diff --git a/LVM2.2.02.96.tgz.asc b/LVM2.2.02.96.tgz.asc
new file mode 100644
index 0000000..8c34971
--- /dev/null
+++ b/LVM2.2.02.96.tgz.asc
@@ -0,0 +1,7 @@
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v1.4.11 (GNU/Linux)
+
+iEYEABECAAYFAk/SjXMACgkQIoGRwVZ+LBflPQCfYYnlsPfqDPCKn/5RgVcC5E7i
+N0YAn2RXoJv+IobEHT5WdXkgNdJ/00le
+=tmCf
+-----END PGP SIGNATURE-----
diff --git a/lvm2.spec b/lvm2.spec
index acab3de..9a037af 100644
--- a/lvm2.spec
+++ b/lvm2.spec
@@ -1,4 +1,4 @@
-%define device_mapper_version 1.02.74
+%define device_mapper_version 1.02.75
 
 %define enable_thin 0
 %define enable_cluster 1
@@ -53,6 +53,7 @@
 # rawhide
 %define udev_version 183-1
 %define enable_thin 1
+%define persistent_data_version 0.1.4
 %define enable_openais 0
 %define corosync_version 1.99.9-1
 %define udev_systemd_merge 1
@@ -90,16 +91,13 @@
 
 Summary: Userland logical volume management tools 
 Name: lvm2
-Version: 2.02.95
-Release: 8%{?dist}
+Version: 2.02.96
+Release: 1%{?dist}
 License: GPLv2
 Group: System Environment/Base
 URL: http://sources.redhat.com/lvm2
 Source0: ftp://sources.redhat.com/pub/lvm2/LVM2.%{version}.tgz
 Patch0: lvm2-set-default-preferred_names.patch
-Patch1: lvm2-2_02_96-detect-lvm-binary-path-in-lvmetad-udev-rules.patch
-Patch2: lvm2-2_02_96-use-pvscan-cache-instead-of-vgscan-in-init-scripts.patch
-Patch3: lvm2-2_02_96-remove-unsupported-udev_get_dev_path-libudev-call.patch
 
 BuildRequires: libselinux-devel >= 1.30.19-4, libsepol-devel
 BuildRequires: ncurses-devel
@@ -135,6 +133,9 @@ Requires(post): chkconfig
 Requires(preun): chkconfig
 %endif
 Requires: module-init-tools
+%if %{enable_thin}
+Requires: device-mapper-persistent-data >= %{persistent_data_version}
+%endif
 
 %description
 LVM2 includes all of the support for handling read/write operations on
@@ -147,9 +148,6 @@ or more physical volumes and creating one or more logical volumes
 %prep
 %setup -q -n LVM2.%{version}
 %patch0 -p1 -b preferred_names
-%patch1 -p1 -b .lvm_path
-%patch2 -p1 -b .pvscan_cache
-%patch3 -p1 -b .libudev_dev_path
 
 %build
 %define _exec_prefix ""
@@ -164,7 +162,7 @@ or more physical volumes and creating one or more logical volumes
 %endif
 
 %if %{enable_thin}
-%define configure_thin --with-thin=internal
+%define configure_thin --with-thin=internal --with-thin-check=%{_sbindir}/thin_check
 %endif
 
 %if %{enable_lvmetad}
@@ -697,6 +695,76 @@ the device-mapper event library.
 /usr%{_libdir}/pkgconfig/devmapper-event.pc
 
 %changelog
+* Mon Jun 18 2012 Alasdair Kergon <agk at redhat.com> - 2.02.96-1
+- Require device-mapper-persistent-data package for thin provisioning.
+- Set delay_resume_if_new on deptree snapshot origin.
+- Log value chosen in _find_config_bool like other variable types do.
+- Wait for dmeventd to exit after sending it DM_EVENT_CMD_DIE when restarting.
+- Append 'Used' to {Blk}DevNames/DevNos dmsetup report headers for clarity.
+- Remove dmeventd fifos on exit if they are not managed by systemd.
+- Use SD_ACTIVATION environment variable in systemd units to detect systemd.
+- Only start a new dmeventd instance on restart if one was already running.
+- Extend the time waited for input from dmeventd fifo to 5 secs. (1.02.73)
+- Fix error paths for regex filter initialization.
+- Re-enable partial activation of non-thin LVs until it can be fixed. (2.02.90)
+- Fix alloc cling to cling to PVs already found with contiguous policy.
+- Fix cling policy not to behave like normal policy if no previous LV seg.
+- Fix allocation loop not to use later policies when --alloc cling without tags.
+- Fix division by zero if PV with zero PE count is used during vgcfgrestore.
+- Add initial support for thin pool lvconvert.
+- Fix lvrename for thin volumes (regression in for_each_sub_lv). (2.02.89)
+- Fix up-convert when mirror activation is controlled by volume_list and tags.
+- Warn of deadlock risk when using snapshots of mirror segment type.
+- Fix bug in cmirror that caused incorrect status info to print on some nodes.
+- Remove statement that snapshots cannot be tagged from lvm man page.
+- Disallow changing cluster attribute of VG while RAID LVs are active.
+- Fix lvconvert error message for non-mergeable volumes.
+- Allow subset of failed devices to be replaced in RAID LVs.
+- Prevent resume from creating error devices that already exist from suspend.
+- Update and correct lvs man page with supported column names.
+- Handle replacement of an active device that goes missing with an error device.
+- Change change raid1 segtype always to request a flush when suspending.
+- Add udev info and context to lvmdump.
+- Add lvmetad man page.
+- Fix RAID device replacement code so that it works under snapshot.
+- Fix inability to split RAID1 image while specifying a particular PV.
+- Update man pages to give them all the same look&feel.
+- Fix lvresize of thin pool for striped devices.
+- For lvresize round upward when specifying number of extents.
+- For lvcreate with %FREE support rounding downward stripe alignment.
+- Change message severity to log_very_verbose for missing dev info in udev db.
+- Fix lvconvert when specifying removal of a RAID device other than last one.
+- Fix ability to handle failures in mirrored log in dmeventd plugin. (2.02.89)
+- Fix unlocking volume group in vgreduce in error path.
+- Cope when VG name is part of the supplied name in lvconvert --splitmirrors -n.
+- Fix exclusive lvchange running from other node. (2.02.89)
+- Add 'vgscan --cache' functionality for consistency with 'pvscan --cache'.
+- Keep exclusive activation in pvmove if LV is already active.
+- Disallow exclusive pvmove if some affected LVs are not exclusively activated.
+- Remove unused and wrongly set cluster VG flag from clvmd lock query command.
+- Fix pvmove for exclusively activated LV pvmove in clustered VG. (2.02.86)
+- Update and fix monitoring of thin pool devices.
+- Check hash insert success in lock_vg in clvmd.
+- Check for buffer overwrite in get_cluster_type() in clvmd.
+- Fix global/detect_internal_vg_cache_corruption config check.
+- Fix initializiation of thin monitoring. (2.02.92)
+- Cope with improperly formatted device numbers in /proc/devices. (2.02.91)
+- Exit if LISTEN_PID environment variable incorrect in lvmetad systemd handover.
+- Fix fsadm propagation of -e option.
+- Fix fsadm parsing of /proc/mounts files (don't check for substrings).
+- Fix fsadm usage of arguments with space.
+- Fix arg_int_value alongside ARG_GROUPABLE --major/--minor for lvcreate/change.
+- Fix name conflicts that prevent down-converting RAID1 when specifying a device
+- Improve thin_check option passing and use configured path.
+- Add --with-thin-check configure option for path to thin_check.
+- Fix error message when pvmove LV activation fails with name already in use.
+- Better structure layout for device_info in dev_subsystem_name().
+- Change message severity for creation of VG over uninitialised devices.
+- Fix error path for failed toolcontext creation.
+- Don't unlink socket on lvmetad shutdown if instantiated from systemd.
+- Restart lvmetad automatically from systemd if it exits from uncaught signal.
+- Fix warn msg for thin pool chunk size and update man for chunksize. (2.02.89)
+
 * Thu Jun 07 2012 Kay Sievers - 2.02.95-8
 - Remove explicit Requires: libudev, rpm takes care of that:
     $ rpm -q --requires device-mapper | grep udev
diff --git a/sources b/sources
index c844adb..f53aaef 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-bd470a802046c807603618a443732ea7  LVM2.2.02.95.tgz
+4637503d792e9ee35a9b71387bcd8a93  LVM2.2.02.96.tgz
diff --git a/upstream b/upstream
index 33bb098..778321c 100644
--- a/upstream
+++ b/upstream
@@ -1 +1 @@
-LVM2.2.02.94.tgz
+LVM2.2.02.96.tgz


More information about the scm-commits mailing list