New upstream release.

This commit is contained in:
Peter Rajnoha 2015-01-30 18:20:52 +01:00
parent 9f79d731dc
commit 385b2142b4
7 changed files with 27 additions and 44 deletions

1
.gitignore vendored
View File

@ -22,3 +22,4 @@
/LVM2.2.02.113.tgz /LVM2.2.02.113.tgz
/LVM2.2.02.114.tgz /LVM2.2.02.114.tgz
/LVM2.2.02.115.tgz /LVM2.2.02.115.tgz
/LVM2.2.02.116.tgz

View File

@ -1,7 +0,0 @@
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.14 (GNU/Linux)
iEYEABECAAYFAlS/p/sACgkQIoGRwVZ+LBckCwCfSfmQci6UOHMaEK688fS0dByG
jdgAoL5R5OOpGn5uRia4S/xyZiaWOxEr
=nZd8
-----END PGP SIGNATURE-----

7
LVM2.2.02.116.tgz.asc Normal file
View File

@ -0,0 +1,7 @@
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.14 (GNU/Linux)
iEYEABECAAYFAlTLr0QACgkQIoGRwVZ+LBc9zACfUCigIN9xYpsZLhxAz6J4Gx3n
H4MAoLAY++8ZzWZUDLS9BIyW/u8NPyxS
=fK6H
-----END PGP SIGNATURE-----

View File

@ -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)))

View File

@ -39,8 +39,8 @@
Summary: Userland logical volume management tools Summary: Userland logical volume management tools
Name: lvm2 Name: lvm2
Version: 2.02.115 Version: 2.02.116
Release: 2%{?dist} Release: 3%{?dist}
License: GPLv2 License: GPLv2
Group: System Environment/Base Group: System Environment/Base
URL: http://sources.redhat.com/lvm2 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 Patch0: lvm2-set-default-preferred_names.patch
Patch1: lvm2-enable-lvmetad-by-default.patch Patch1: lvm2-enable-lvmetad-by-default.patch
Patch2: lvm2-remove-mpath-device-handling-from-udev-rules.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: libselinux-devel >= %{libselinux_version}, libsepol-devel
BuildRequires: libblkid-devel >= %{util_linux_version} 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 %patch0 -p1 -b .preferred_names
%patch1 -p1 -b .enable_lvmetad %patch1 -p1 -b .enable_lvmetad
%patch2 -p1 -b .udev_no_mpath %patch2 -p1 -b .udev_no_mpath
%patch3 -p1 -b .cache_mode_mda
%build %build
%define _default_pid_dir /run %define _default_pid_dir /run
@ -643,6 +641,21 @@ the device-mapper event library.
%{_libdir}/pkgconfig/devmapper-event.pc %{_libdir}/pkgconfig/devmapper-event.pc
%changelog %changelog
* Fri Jan 30 2015 Peter Rajnoha <prajnoha@redhat.com> - 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 <prajnoha@redhat.com> - 2.02.115-2 * Thu Jan 29 2015 Peter Rajnoha <prajnoha@redhat.com> - 2.02.115-2
- Set default cache_mode to writehrough when missing in metadata. - Set default cache_mode to writehrough when missing in metadata.
- Add BuildRequires: device-mapper-persistent-data - Add BuildRequires: device-mapper-persistent-data

View File

@ -1 +1 @@
450744ce2ffd15c017d04bb314979e00 LVM2.2.02.115.tgz 3a1104e3d1dc4d5e92a40228161cd660 LVM2.2.02.116.tgz

View File

@ -1 +1 @@
LVM2.2.02.114.tgz LVM2.2.02.116.tgz