diff --git a/.gitignore b/.gitignore index 9f0a300..deddf7a 100644 --- a/.gitignore +++ b/.gitignore @@ -22,3 +22,4 @@ /LVM2.2.02.113.tgz /LVM2.2.02.114.tgz /LVM2.2.02.115.tgz +/LVM2.2.02.116.tgz diff --git a/LVM2.2.02.115.tgz.asc b/LVM2.2.02.115.tgz.asc deleted file mode 100644 index 6d022d4..0000000 --- a/LVM2.2.02.115.tgz.asc +++ /dev/null @@ -1,7 +0,0 @@ ------BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.14 (GNU/Linux) - -iEYEABECAAYFAlS/p/sACgkQIoGRwVZ+LBckCwCfSfmQci6UOHMaEK688fS0dByG -jdgAoL5R5OOpGn5uRia4S/xyZiaWOxEr -=nZd8 ------END PGP SIGNATURE----- diff --git a/LVM2.2.02.116.tgz.asc b/LVM2.2.02.116.tgz.asc new file mode 100644 index 0000000..c12b48f --- /dev/null +++ b/LVM2.2.02.116.tgz.asc @@ -0,0 +1,7 @@ +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.14 (GNU/Linux) + +iEYEABECAAYFAlTLr0QACgkQIoGRwVZ+LBc9zACfUCigIN9xYpsZLhxAz6J4Gx3n +H4MAoLAY++8ZzWZUDLS9BIyW/u8NPyxS +=fK6H +-----END PGP SIGNATURE----- diff --git a/lvm2-2_02_116-set-default-cache_mode-when-unset-or-missing-in-metadata.patch b/lvm2-2_02_116-set-default-cache_mode-when-unset-or-missing-in-metadata.patch deleted file mode 100644 index 7d5b904..0000000 --- a/lvm2-2_02_116-set-default-cache_mode-when-unset-or-missing-in-metadata.patch +++ /dev/null @@ -1,31 +0,0 @@ - WHATS_NEW | 4 ++++ - lib/cache_segtype/cache.c | 4 +++- - 2 files changed, 7 insertions(+), 1 deletion(-) - -diff --git a/WHATS_NEW b/WHATS_NEW -index 75c4569..2c481ae 100644 ---- a/WHATS_NEW -+++ b/WHATS_NEW -@@ -1,3 +1,7 @@ -+Version 2.02.116 - -+==================================== -+ Set default cache_mode to writehrough when missing in metadata. -+ - Version 2.02.115 - 21st January 2015 - ==================================== - Report segment types without monitoring support as undefined. -diff --git a/lib/cache_segtype/cache.c b/lib/cache_segtype/cache.c -index 73839f4..afc0ec6 100644 ---- a/lib/cache_segtype/cache.c -+++ b/lib/cache_segtype/cache.c -@@ -68,7 +68,9 @@ static int _cache_pool_text_import(struct lv_segment *seg, - return SEG_LOG_ERROR("cache_mode must be a string in"); - if (!set_cache_pool_feature(&seg->feature_flags, str)) - return SEG_LOG_ERROR("Unknown cache_mode in"); -- } -+ } else -+ /* When missed in metadata, it's an old stuff - use writethrough */ -+ seg->feature_flags |= DM_CACHE_FEATURE_WRITETHROUGH; - - if (dm_config_has_node(sn, "policy")) { - if (!(str = dm_config_find_str(sn, "policy", NULL))) diff --git a/lvm2.spec b/lvm2.spec index 25f919a..1a87ea2 100644 --- a/lvm2.spec +++ b/lvm2.spec @@ -39,8 +39,8 @@ Summary: Userland logical volume management tools Name: lvm2 -Version: 2.02.115 -Release: 2%{?dist} +Version: 2.02.116 +Release: 3%{?dist} License: GPLv2 Group: System Environment/Base URL: http://sources.redhat.com/lvm2 @@ -48,7 +48,6 @@ Source0: ftp://sources.redhat.com/pub/lvm2/releases/LVM2.%{version}.tgz Patch0: lvm2-set-default-preferred_names.patch Patch1: lvm2-enable-lvmetad-by-default.patch Patch2: lvm2-remove-mpath-device-handling-from-udev-rules.patch -Patch3: lvm2-2_02_116-set-default-cache_mode-when-unset-or-missing-in-metadata.patch BuildRequires: libselinux-devel >= %{libselinux_version}, libsepol-devel BuildRequires: libblkid-devel >= %{util_linux_version} @@ -92,7 +91,6 @@ or more physical volumes and creating one or more logical volumes %patch0 -p1 -b .preferred_names %patch1 -p1 -b .enable_lvmetad %patch2 -p1 -b .udev_no_mpath -%patch3 -p1 -b .cache_mode_mda %build %define _default_pid_dir /run @@ -643,6 +641,21 @@ the device-mapper event library. %{_libdir}/pkgconfig/devmapper-event.pc %changelog +* Fri Jan 30 2015 Peter Rajnoha - 2.02.116-3 +- Deactivate unused thin pools activated with lvm2 pre-2.02.112 versions. +- Check lock holding LV when lvconverting stacked raid LV in cluster. +- Support udev external dev info for filters: PV min size, mpath, md, partition. +- Add fw_raid_component_detection lvm.conf option to enable FW raid detection. +- Add devices/external_device_info_source lvm.conf option ("none" by default). +- Scan pools in for_each_sub_lv() and add for_each_sub_lv_except_pools(). +- Fix lvm2app lvm_lv_get_property return value for fields with info/status ioctl. +- Fix lvm2app regression in lvm_lv_get_attr causing unknown values (2.02.115). +- Preserve chunk size with repair and metadata swap of a thin pool. +- Fix raid --splitmirror 1 functionality (2.02.112). +- Fix tree preload to handle splitting raid images. +- Do not support unpartitioned DASD devices. +- Improve config validation to check if setting with string value can be empty. + * Thu Jan 29 2015 Peter Rajnoha - 2.02.115-2 - Set default cache_mode to writehrough when missing in metadata. - Add BuildRequires: device-mapper-persistent-data diff --git a/sources b/sources index 08aea2d..bee2f2c 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -450744ce2ffd15c017d04bb314979e00 LVM2.2.02.115.tgz +3a1104e3d1dc4d5e92a40228161cd660 LVM2.2.02.116.tgz diff --git a/upstream b/upstream index aad4d0f..5ed5e2a 100644 --- a/upstream +++ b/upstream @@ -1 +1 @@ -LVM2.2.02.114.tgz +LVM2.2.02.116.tgz