New upstream release v2.02.171.
This commit is contained in:
parent
8e2a5eada8
commit
a730006f2b
1
.gitignore
vendored
1
.gitignore
vendored
@ -73,3 +73,4 @@
|
||||
/LVM2.2.02.166.tgz
|
||||
/LVM2.2.02.167.tgz
|
||||
/LVM2.2.02.168.tgz
|
||||
/LVM2.2.02.171.tgz
|
||||
|
@ -1,7 +0,0 @@
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
Version: GnuPG v2.0.14 (GNU/Linux)
|
||||
|
||||
iEUEABECAAYFAlg/XqMACgkQIoGRwVZ+LBdjQACVGeU4I+B5ETIhINJeYXy2bLNu
|
||||
hQCgxEmGwG0ec2frSXhQociTYfT6vVc=
|
||||
=T5md
|
||||
-----END PGP SIGNATURE-----
|
7
LVM2.2.02.171.tgz.asc
Normal file
7
LVM2.2.02.171.tgz.asc
Normal file
@ -0,0 +1,7 @@
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
Version: GnuPG v2.0.14 (GNU/Linux)
|
||||
|
||||
iEYEABECAAYFAlkJsL8ACgkQIoGRwVZ+LBdDyQCglMu7xeTWOFeLMTlCsKX7CuFv
|
||||
7TgAoO9d8AW3mFx8DAiw4cBkpOLftNdz
|
||||
=2q57
|
||||
-----END PGP SIGNATURE-----
|
28
lvm2-2_02_171-lvmdbusd-fix-pv-lookup.patch
Normal file
28
lvm2-2_02_171-lvmdbusd-fix-pv-lookup.patch
Normal file
@ -0,0 +1,28 @@
|
||||
diff --git a/daemons/lvmdbusd/objectmanager.py b/daemons/lvmdbusd/objectmanager.py
|
||||
index a9d13a7..563b9ec 100644
|
||||
--- a/daemons/lvmdbusd/objectmanager.py
|
||||
+++ b/daemons/lvmdbusd/objectmanager.py
|
||||
@@ -223,8 +223,9 @@ class ObjectManager(AutomatedProperties):
|
||||
:param lvm_id: The lvm identifier
|
||||
"""
|
||||
with self.rlock:
|
||||
- if lvm_id in self._id_to_object_path:
|
||||
- return self.get_object_by_path(self._id_to_object_path[lvm_id])
|
||||
+ lookup_rc = self._id_lookup(lvm_id)
|
||||
+ if lookup_rc:
|
||||
+ return self.get_object_by_path(lookup_rc)
|
||||
return None
|
||||
|
||||
def get_object_path_by_lvm_id(self, lvm_id):
|
||||
@@ -234,8 +235,9 @@ class ObjectManager(AutomatedProperties):
|
||||
:return: Object path or '/' if not found
|
||||
"""
|
||||
with self.rlock:
|
||||
- if lvm_id in self._id_to_object_path:
|
||||
- return self._id_to_object_path[lvm_id]
|
||||
+ lookup_rc = self._id_lookup(lvm_id)
|
||||
+ if lookup_rc:
|
||||
+ return lookup_rc
|
||||
return '/'
|
||||
|
||||
def _uuid_verify(self, path, uuid, lvm_id):
|
121
lvm2.spec
121
lvm2.spec
@ -1,4 +1,4 @@
|
||||
%global device_mapper_version 1.02.137
|
||||
%global device_mapper_version 1.02.140
|
||||
|
||||
%global enable_cache 1
|
||||
%global enable_cluster 1
|
||||
@ -9,6 +9,7 @@
|
||||
%global enable_lvmpolld 1
|
||||
%global enable_python 1
|
||||
%global enable_thin 1
|
||||
%global enable_dmfilemapd 1
|
||||
|
||||
%global system_release_version 23
|
||||
%global systemd_version 189-3
|
||||
@ -17,9 +18,9 @@
|
||||
%global bash_version 4.0
|
||||
%global corosync_version 1.99.9-1
|
||||
%global resource_agents_version 3.9.5-12
|
||||
%global dlm_version 3.99.1-1
|
||||
%global dlm_version 4.0.6-2
|
||||
%global libselinux_version 1.30.19-4
|
||||
%global persistent_data_version 0.5.5-1
|
||||
%global persistent_data_version 0.7.0-0.1.rc6
|
||||
%global sanlock_version 3.3.0-2
|
||||
|
||||
%global enable_lockd_sanlock %{enable_lvmlockd}
|
||||
@ -52,14 +53,16 @@
|
||||
Summary: Userland logical volume management tools
|
||||
Name: lvm2
|
||||
|
||||
Version: 2.02.168
|
||||
Release: 4%{?dist}
|
||||
Version: 2.02.171
|
||||
Release: 1%{?dist}
|
||||
License: GPLv2
|
||||
Group: System Environment/Base
|
||||
URL: http://sources.redhat.com/lvm2
|
||||
Source0: ftp://sources.redhat.com/pub/lvm2/releases/LVM2.%{version}.tgz
|
||||
Patch0: lvm2-set-default-preferred_names.patch
|
||||
Patch1: lvm2-lvmetad-timeout.patch
|
||||
# Commit 405a3689bcc4 related to RHBZ#1445302
|
||||
Patch2: lvm2-2_02_171-lvmdbusd-fix-pv-lookup.patch
|
||||
|
||||
BuildRequires: libselinux-devel >= %{libselinux_version}, libsepol-devel
|
||||
BuildRequires: libblkid-devel >= %{util_linux_version}
|
||||
@ -115,6 +118,7 @@ or more physical volumes and creating one or more logical volumes
|
||||
%setup -q -n LVM2.%{version}
|
||||
%patch0 -p1 -b .preferred_names
|
||||
%patch1 -p1 -b .lvmetad_timeout
|
||||
%patch2 -p1 -b .lvmdbusd_lookup
|
||||
|
||||
%build
|
||||
%global _default_pid_dir /run
|
||||
@ -140,11 +144,11 @@ or more physical volumes and creating one or more logical volumes
|
||||
%endif
|
||||
|
||||
%if %{enable_lockd_dlm}
|
||||
%global configure_lockd_dlm --enable-lockd-dlm
|
||||
%global configure_lockd_dlm --enable-lvmlockd-dlm
|
||||
%endif
|
||||
|
||||
%if %{enable_lockd_sanlock}
|
||||
%global configure_lockd_sanlock --enable-lockd-sanlock
|
||||
%global configure_lockd_sanlock --enable-lvmlockd-sanlock
|
||||
%endif
|
||||
|
||||
%if %{enable_lvmpolld}
|
||||
@ -159,7 +163,11 @@ or more physical volumes and creating one or more logical volumes
|
||||
%global configure_python --enable-python2-bindings --enable-python3-bindings
|
||||
%endif
|
||||
|
||||
%configure --with-default-dm-run-dir=%{_default_dm_run_dir} --with-default-run-dir=%{_default_run_dir} --with-default-pid-dir=%{_default_pid_dir} --with-default-locking-dir=%{_default_locking_dir} --with-usrlibdir=%{_libdir} --enable-lvm1_fallback --enable-fsadm --with-pool=internal --enable-write_install --with-user= --with-group= --with-device-uid=0 --with-device-gid=6 --with-device-mode=0660 --enable-pkgconfig --enable-applib --enable-cmdlib --enable-dmeventd --enable-blkid_wiping %{?configure_python} %{?configure_cluster} %{?configure_cmirror} %{?configure_udev} %{?configure_thin} %{?configure_lvmetad} %{?configure_cache} %{?configure_lvmpolld} %{?configure_lockd_dlm} %{?configure_lockd_sanlock} %{?configure_lvmdbusd}
|
||||
%if %{enable_dmfilemapd}
|
||||
%global configure_dmfilemapd --enable-dmfilemapd
|
||||
%endif
|
||||
|
||||
%configure --with-default-dm-run-dir=%{_default_dm_run_dir} --with-default-run-dir=%{_default_run_dir} --with-default-pid-dir=%{_default_pid_dir} --with-default-locking-dir=%{_default_locking_dir} --with-usrlibdir=%{_libdir} --enable-lvm1_fallback --enable-fsadm --with-pool=internal --enable-write_install --with-user= --with-group= --with-device-uid=0 --with-device-gid=6 --with-device-mode=0660 --enable-pkgconfig --enable-applib --enable-cmdlib --enable-dmeventd --enable-blkid_wiping %{?configure_python} %{?configure_cluster} %{?configure_cmirror} %{?configure_udev} %{?configure_thin} %{?configure_lvmetad} %{?configure_cache} %{?configure_lvmpolld} %{?configure_lockd_dlm} %{?configure_lockd_sanlock} %{?configure_lvmdbusd} %{?configure_dmfilemapd}
|
||||
|
||||
make %{?_smp_mflags}
|
||||
|
||||
@ -253,7 +261,6 @@ systemctl start lvm2-lvmpolld.socket
|
||||
%{_sbindir}/lvcreate
|
||||
%{_sbindir}/lvdisplay
|
||||
%{_sbindir}/lvextend
|
||||
%{_sbindir}/lvmchange
|
||||
%{_sbindir}/lvmdiskscan
|
||||
%{_sbindir}/lvmsadc
|
||||
%{_sbindir}/lvmsar
|
||||
@ -308,7 +315,6 @@ systemctl start lvm2-lvmpolld.socket
|
||||
%{_mandir}/man8/lvm-config.8.gz
|
||||
%{_mandir}/man8/lvmconfig.8.gz
|
||||
%{_mandir}/man8/lvm-dumpconfig.8.gz
|
||||
%{_mandir}/man8/lvmchange.8.gz
|
||||
%{_mandir}/man8/lvmconf.8.gz
|
||||
%{_mandir}/man8/lvmdiskscan.8.gz
|
||||
%{_mandir}/man8/lvmdump.8.gz
|
||||
@ -718,10 +724,14 @@ for the kernel device-mapper.
|
||||
%defattr(444,root,root,-)
|
||||
%attr(555, -, -) %{_sbindir}/dmsetup
|
||||
%attr(555, -, -) %{_sbindir}/blkdeactivate
|
||||
%{_sbindir}/dmstats
|
||||
%attr(555, -, -) %{_sbindir}/dmstats
|
||||
%{_mandir}/man8/dmsetup.8.gz
|
||||
%{_mandir}/man8/dmstats.8.gz
|
||||
%{_mandir}/man8/blkdeactivate.8.gz
|
||||
%if %{enable_dmfilemapd}
|
||||
%attr(555, -, -) %{_sbindir}/dmfilemapd
|
||||
%{_mandir}/man8/dmfilemapd.8.gz
|
||||
%endif
|
||||
%{_udevdir}/10-dm.rules
|
||||
%{_udevdir}/13-dm-disk.rules
|
||||
%{_udevdir}/95-dm-notify.rules
|
||||
@ -838,6 +848,95 @@ the device-mapper event library.
|
||||
%{_libdir}/pkgconfig/devmapper-event.pc
|
||||
|
||||
%changelog
|
||||
* Tue May 09 2017 Marian Csontos <mcsontos@redhat.com> - 2.02.171-1
|
||||
- Add RAID takeover and reshaping.
|
||||
- Add pvcreate prompt when device size doesn't match setphysicalvolumesize.
|
||||
- Remove obsolete lvmchange binary - convert to built-in command.
|
||||
- Support cache segment with configurable metadata format.
|
||||
- Add option for lvcreate/lvconvert --cachemetadataformat auto|1|2.
|
||||
- Add allocation/cache_metadata_format profilable settings.
|
||||
- Command line options, help and man pages using common definitions.
|
||||
- Add build-time configuration command line to 'lvm version' output.
|
||||
- Disable lvmetad when lvconvert --repair is run.
|
||||
- Raise mirror/raid default regionsize to 2MiB.
|
||||
- Support shrinking of RaidLVs.
|
||||
- Introduce global/fsadm_executable to make fsadm path configurable.
|
||||
- Look for limited thin pool metadata size when using 16G metadata.
|
||||
- Add lvconvert pool creation rule disallowing options with poolmetadata.
|
||||
- Fix missing lvmlockd LV locks in lvchange and lvconvert.
|
||||
- Fix dmeventd setup for lvchange --poll.
|
||||
- Fix use of --poll and --monitor with lvchange and vgchange.
|
||||
- Disallow lvconvert of hidden LV to a pool.
|
||||
- Ignore --partial option when not used for activation.
|
||||
- Allow --activationmode option with lvchange --refresh.
|
||||
- Allow valid lvconvert --regionsize change
|
||||
- Fix SIGINT blocking to prevent corrupted metadata
|
||||
- Fix systemd unit existence check for lvmconf --services --startstopservices.
|
||||
- Check and use PATH_MAX buffers when creating vgrename device paths.
|
||||
- Handle known table line parameter order change in specific raid target vsns.
|
||||
- Show more information for cached volumes in lvdisplay [-m].
|
||||
- Use function cache_set_params() for both lvcreate and lvconvert.
|
||||
- Skip rounding on cache chunk size boudary when create cache LV.
|
||||
- Improve cache_set_params support for chunk_size selection.
|
||||
- Fix metadata profile allocation/cache_[mode|policy] setting.
|
||||
- Fix missing support for using allocation/cache_pool_chunk_size setting.
|
||||
- Support conversion of raid type, stripesize and number of disks
|
||||
- Reject writemostly/writebehind in lvchange during resynchronization.
|
||||
- Deactivate active origin first before removal for improved workflow.
|
||||
- Fix regression of accepting both --type and -m with lvresize. (2.02.158)
|
||||
- Add extra memory page when limiting pthread stack size in clvmd.
|
||||
- Support striped/raid0* <-> raid10_near conversions.
|
||||
- Support region size changes on existing RaidLVs.
|
||||
- Avoid parallel usage of cpg_mcast_joined() in clvmd with corosync.
|
||||
- Support raid6_{ls,rs,la,ra}_6 segment types and conversions from/to it.
|
||||
- Support raid6_n_6 segment type and conversions from/to it.
|
||||
- Support raid5_n segment type and conversions from/to it.
|
||||
- Support new internal command _dmeventd_thin_command.
|
||||
- Introduce new dmeventd/thin_command configurable setting.
|
||||
- Use new default units 'r' for displaying sizes.
|
||||
- Also unmount mount point on top of MD device if using blkdeactivate -u.
|
||||
- Restore check preventing resize of cache type volumes (2.02.158).
|
||||
- Add missing udev sync when flushing dirty cache content.
|
||||
- vgchange -p accepts only uint32 numbers.
|
||||
- Report thin LV date for merged LV when the merge is in progress.
|
||||
- Detect if snapshot merge really started before polling for progress.
|
||||
- Checking LV for merging origin requires also it has merged snapshot.
|
||||
- Extend validation of metadata processing.
|
||||
- Enable usage of cached volumes as snapshot origin LV.
|
||||
- Fix displayed lv name when splitting snapshot (2.02.146).
|
||||
- Warn about command not making metadata backup just once per command.
|
||||
- Enable usage of cached volume as thin volume's external origin.
|
||||
- Support cache volume activation with -real layer.
|
||||
- Improve search of lock-holder for external origin and thin-pool.
|
||||
- Support status checking of cache volume used in layer.
|
||||
- Avoid shifting by one number of blocks when clearing dirty cache volume.
|
||||
- Extend metadata validation of external origin LV use count.
|
||||
- Fix dm table when the last user of active external origin is removed.
|
||||
- Improve reported lvs status for active external origin volume.
|
||||
- Fix table load for splitted RAID LV and require explicit activation.
|
||||
- Always active splitted RAID LV exclusively locally.
|
||||
- Do not use LV RAID status bit for segment status.
|
||||
- Check segtype directly instead of checking RAID in segment status.
|
||||
- Reusing exiting code for raid image removal.
|
||||
- Fix pvmove leaving -pvmove0 error device in clustered VG.
|
||||
- Avoid adding extra '_' at end of raid extracted images or metadata.
|
||||
- Optimize another _rmeta clearing code.
|
||||
- Fix deactivation of raid orphan devices for clustered VG.
|
||||
- Fix lvconvert raid1 to mirror table reload order.
|
||||
- Add internal function for separate mirror log preparation.
|
||||
- Fix segfault in lvmetad from missing NULL in daemon_reply_simple.
|
||||
- Simplify internal _info_run() and use _setup_task_run() for mknod.
|
||||
- Better API for internal function _setup_task_run.
|
||||
- Avoid using lv_has_target_type() call within lv_info_with_seg_status.
|
||||
- Simplify internal lv_info_with_seg_status API.
|
||||
- Decide which status is needed in one place for lv_info_with_seg_status.
|
||||
- Fix matching of LV segment when checking for it info status.
|
||||
- Report log_warn when status cannot be parsed.
|
||||
- Test segment type before accessing segment members when checking status.
|
||||
- Implement compatible target function for stripe segment.
|
||||
- Use status info to report merge failed and snapshot invalid lvs fields.
|
||||
- See WHATS_NEW and WHATS_NEW_DM in the documentation directory for more.
|
||||
|
||||
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.02.168-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
||||
|
||||
|
2
sources
2
sources
@ -1 +1 @@
|
||||
00209bdd6befe9a7330f162909313ae8 LVM2.2.02.168.tgz
|
||||
SHA512 (LVM2.2.02.171.tgz) = 801adcc2ae483f81edf6bfba73090b6b8f710370e48764f08a62da71d617157075bea01593c2535ad5ba71dcb5e0cfe83cec9a65180a6e8b9e0d214bdee79883
|
||||
|
Loading…
Reference in New Issue
Block a user