New upstream release v2.02.124.
With new and experimental lvmlockd daemon.
This commit is contained in:
parent
4b009e152a
commit
0cb59035e7
1
.gitignore
vendored
1
.gitignore
vendored
@ -28,3 +28,4 @@
|
||||
/LVM2.2.02.120.tgz
|
||||
/LVM2.2.02.122.tgz
|
||||
/LVM2.2.02.123.tgz
|
||||
/LVM2.2.02.124.tgz
|
||||
|
@ -1,7 +0,0 @@
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
Version: GnuPG v2.0.14 (GNU/Linux)
|
||||
|
||||
iEYEABECAAYFAlWSwGMACgkQIoGRwVZ+LBdh8QCeI3Ru9YeDu+qzXnadP6mAdqOi
|
||||
ZHoAoN/cjomv4Tv4Opoj0s3nxwDi2Ckn
|
||||
=PxDx
|
||||
-----END PGP SIGNATURE-----
|
BIN
LVM2.2.02.124.tgz
Normal file
BIN
LVM2.2.02.124.tgz
Normal file
Binary file not shown.
68
lvm2.spec
68
lvm2.spec
@ -1,9 +1,10 @@
|
||||
%define device_mapper_version 1.02.100
|
||||
%define device_mapper_version 1.02.101
|
||||
|
||||
%define enable_cache 1
|
||||
%define enable_cluster 1
|
||||
%define enable_cmirror 1
|
||||
%define enable_lvmetad 1
|
||||
%define enable_lvmlockd 1
|
||||
%define enable_lvmpolld 1
|
||||
%define enable_python 1
|
||||
%define enable_thin 1
|
||||
@ -20,6 +21,7 @@
|
||||
%define dlm_version 3.99.1-1
|
||||
%define libselinux_version 1.30.19-4
|
||||
%define persistent_data_version 0.3.2-1
|
||||
%define sanlock_version 3.2.4-1
|
||||
|
||||
%if 0%{?rhel}
|
||||
%ifnarch i686 x86_64
|
||||
@ -43,7 +45,7 @@
|
||||
|
||||
Summary: Userland logical volume management tools
|
||||
Name: lvm2
|
||||
Version: 2.02.123
|
||||
Version: 2.02.124
|
||||
Release: 1%{?dist}
|
||||
License: GPLv2
|
||||
Group: System Environment/Base
|
||||
@ -58,6 +60,8 @@ BuildRequires: ncurses-devel
|
||||
BuildRequires: readline-devel
|
||||
%if %{enable_cluster}
|
||||
BuildRequires: corosynclib-devel >= %{corosync_version}
|
||||
%endif
|
||||
%if %{enable_cluster} || %{enable_lvmlockd}
|
||||
BuildRequires: dlm-devel >= %{dlm_version}
|
||||
%endif
|
||||
BuildRequires: module-init-tools
|
||||
@ -72,6 +76,9 @@ BuildRequires: python-setuptools
|
||||
%if %{enable_thin} || %{enable_cache}
|
||||
BuildRequires: device-mapper-persistent-data >= %{persistent_data_version}
|
||||
%endif
|
||||
%if %{enable_lvmlockd}
|
||||
BuildRequires: sanlock-devel >= %{sanlock_version}
|
||||
%endif
|
||||
Requires: %{name}-libs = %{version}-%{release}
|
||||
Requires: fedora-release >= %{fedora_release_version}
|
||||
Requires: bash >= %{bash_version}
|
||||
@ -119,6 +126,10 @@ or more physical volumes and creating one or more logical volumes
|
||||
%define configure_lvmetad --enable-lvmetad
|
||||
%endif
|
||||
|
||||
%if %{enable_lvmlockd}
|
||||
%define configure_lvmlockd --enable-lvmlockd
|
||||
%endif
|
||||
|
||||
%if %{enable_lvmpolld}
|
||||
%define configure_lvmpolld --enable-lvmpolld
|
||||
%endif
|
||||
@ -128,7 +139,7 @@ or more physical volumes and creating one or more logical volumes
|
||||
%define configure_python3_flags PYTHON=/usr/bin/python3 PYTHON_CONFIG=/usr/bin/python3-config
|
||||
%endif
|
||||
|
||||
%define configure_final --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}
|
||||
%define configure_final --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_lvmlockd}
|
||||
|
||||
%if %{enable_python}
|
||||
rm -rf %{py3dir}
|
||||
@ -464,6 +475,42 @@ logical volumes, physical volumes, and volume groups.
|
||||
|
||||
%endif
|
||||
|
||||
##############################################################################
|
||||
# LVM locking daemon
|
||||
##############################################################################
|
||||
%if %{enable_lvmlockd}
|
||||
%package lockd
|
||||
Summary: LVM locking daemon
|
||||
Group: System Environment/Base
|
||||
Requires: lvm2 = %{version}-%{release}
|
||||
Requires: sanlock-lib >= %{sanlock_version}
|
||||
Requires: dlm >= %{dlm_version}
|
||||
Requires(post): systemd-units >= %{systemd_version}
|
||||
Requires(preun): systemd-units >= %{systemd_version}
|
||||
Requires(postun): systemd-units >= %{systemd_version}
|
||||
|
||||
%description lockd
|
||||
|
||||
LVM commands use lvmlockd to coordinate access to shared storage.
|
||||
|
||||
%post lockd
|
||||
%systemd_post lvm2-lvmlockd.service lvm2-lvmlocking.service
|
||||
|
||||
%preun lockd
|
||||
%systemd_preun lvm2-lvmlockd.service lvm2-lvmlocking.service
|
||||
|
||||
%postun lockd
|
||||
%systemd_postun lvm2-lvmlockd.service lvm2-lvmlocking.service
|
||||
|
||||
%files lockd
|
||||
%defattr(444,root,root,-)
|
||||
%%attr(555, -, -) %{_sbindir}/lvmlockd
|
||||
%%attr(555, -, -) %{_sbindir}/lvmlockctl
|
||||
%{_mandir}/man8/lvmlockd.8.gz
|
||||
%{_unitdir}/lvm2-lvmlockd.service
|
||||
%{_unitdir}/lvm2-lvmlocking.service
|
||||
|
||||
%endif
|
||||
|
||||
##############################################################################
|
||||
# Cluster subpackage
|
||||
@ -734,6 +781,21 @@ the device-mapper event library.
|
||||
%{_libdir}/pkgconfig/devmapper-event.pc
|
||||
|
||||
%changelog
|
||||
* Fri Jul 03 2015 Peter Rajnoha <prajnoha@redhat.com> - 2.02.124-1
|
||||
- Move sending thin pool messages from resume to suspend phase.
|
||||
- Report warning when pool is overprovisioned and not auto resized.
|
||||
- Recognize free-form date/time values for lv_time field in selection criteria.
|
||||
- Added experimental lvmlockd with configure --enable-lvmlockd.
|
||||
- Fix regression in select to match string fields if using synonyms (2.02.123).
|
||||
- Fix regression when printing more lv names via display_lvname (2.02.122).
|
||||
- Add missing error logging to unlock_vg and sync_local_dev_names callers.
|
||||
- Add experimental support to passing messages in suspend tree.
|
||||
- Add dm_report_value_cache_{set,get} to support caching during report/select.
|
||||
- Add dm_report_reserved_handler to handle report reserved value actions.
|
||||
- Support dynamic value in select: DM_REPORT_FIELD_RESERVED_VALUE_DYNAMIC_VALUE.
|
||||
- Support fuzzy names in select: DM_REPORT_FIELD_RESERVED_VALUE_FUZZY_NAMES.
|
||||
- Thin pool trace messages show a device name and major:minor.
|
||||
|
||||
* Wed Jul 01 2015 Peter Rajnoha <prajnoha@redhat.com> - 2.02.123-1
|
||||
- Add report/time_format lvm.conf option to define time format for report.
|
||||
- Fix makefile shell compare == when building lvmetad lvmpolld (2.02.120).
|
||||
|
Loading…
Reference in New Issue
Block a user