Change DEFAULT_UDEV_SYNC to 1 so udev_sync is used even without any config.
This commit is contained in:
parent
056a28e807
commit
7debc62333
28
lvm2-fix-default_udev_sync.patch
Normal file
28
lvm2-fix-default_udev_sync.patch
Normal file
@ -0,0 +1,28 @@
|
|||||||
|
WHATS_NEW | 1 +
|
||||||
|
lib/config/defaults.h | 2 +-
|
||||||
|
2 files changed, 2 insertions(+), 1 deletions(-)
|
||||||
|
|
||||||
|
diff --git a/WHATS_NEW b/WHATS_NEW
|
||||||
|
index f8bb79e..b40abd9 100644
|
||||||
|
--- a/WHATS_NEW
|
||||||
|
+++ b/WHATS_NEW
|
||||||
|
@@ -1,5 +1,6 @@
|
||||||
|
Version 2.02.87 -
|
||||||
|
===============================
|
||||||
|
+ Change DEFAULT_UDEV_SYNC to 1 so udev_sync is used even without any config.
|
||||||
|
Add systemd unit file to provide lvm2 monitoring.
|
||||||
|
|
||||||
|
Version 2.02.86 - 8th July 2011
|
||||||
|
diff --git a/lib/config/defaults.h b/lib/config/defaults.h
|
||||||
|
index afd8dc1..7793d32 100644
|
||||||
|
--- a/lib/config/defaults.h
|
||||||
|
+++ b/lib/config/defaults.h
|
||||||
|
@@ -77,7 +77,7 @@
|
||||||
|
#define DEFAULT_LABELSECTOR UINT64_C(1)
|
||||||
|
#define DEFAULT_READ_AHEAD "auto"
|
||||||
|
#define DEFAULT_UDEV_RULES 1
|
||||||
|
-#define DEFAULT_UDEV_SYNC 0
|
||||||
|
+#define DEFAULT_UDEV_SYNC 1
|
||||||
|
#define DEFAULT_VERIFY_UDEV_OPERATIONS 0
|
||||||
|
#define DEFAULT_ACTIVATION_CHECKS 0
|
||||||
|
#define DEFAULT_EXTENT_SIZE 4096 /* In KB */
|
@ -39,7 +39,7 @@
|
|||||||
Summary: Userland logical volume management tools
|
Summary: Userland logical volume management tools
|
||||||
Name: lvm2
|
Name: lvm2
|
||||||
Version: 2.02.86
|
Version: 2.02.86
|
||||||
Release: 4%{?dist}
|
Release: 5%{?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
|
||||||
@ -53,6 +53,7 @@ Patch2: lvm2-systemd-conf-make-support.patch
|
|||||||
Patch3: lvm2-autoreconf.patch
|
Patch3: lvm2-autoreconf.patch
|
||||||
Patch4: lvm2-new-oom-adj-interface.patch
|
Patch4: lvm2-new-oom-adj-interface.patch
|
||||||
Patch5: lvm2-systemd-fds-handover.patch
|
Patch5: lvm2-systemd-fds-handover.patch
|
||||||
|
Patch6: lvm2-fix-default_udev_sync.patch
|
||||||
|
|
||||||
BuildRequires: libselinux-devel >= 1.30.19-4, libsepol-devel
|
BuildRequires: libselinux-devel >= 1.30.19-4, libsepol-devel
|
||||||
BuildRequires: ncurses-devel
|
BuildRequires: ncurses-devel
|
||||||
@ -97,6 +98,7 @@ or more physical volumes and creating one or more logical volumes
|
|||||||
%patch3 -p1 -b .autoreconf
|
%patch3 -p1 -b .autoreconf
|
||||||
%patch4 -p1 -b .oom_adj
|
%patch4 -p1 -b .oom_adj
|
||||||
%patch5 -p1 -b .systemd_fds
|
%patch5 -p1 -b .systemd_fds
|
||||||
|
%patch6 -p1 -b .default_udev_sync
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%define _exec_prefix ""
|
%define _exec_prefix ""
|
||||||
@ -593,6 +595,9 @@ the device-mapper event library.
|
|||||||
/usr%{_libdir}/pkgconfig/devmapper-event.pc
|
/usr%{_libdir}/pkgconfig/devmapper-event.pc
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Aug 03 2011 Peter Rajnoha <prajnoha@redhat.com> - 2.02.86-5
|
||||||
|
- Change DEFAULT_UDEV_SYNC to 1 so udev_sync is used even without any config.
|
||||||
|
|
||||||
* Thu Jul 28 2011 Peter Rajnoha <prajnoha@redhat.com> - 2.02.86-4
|
* Thu Jul 28 2011 Peter Rajnoha <prajnoha@redhat.com> - 2.02.86-4
|
||||||
- Add support for systemd file descriptor handover to dmeventd.
|
- Add support for systemd file descriptor handover to dmeventd.
|
||||||
- Add support for new oom killer adjustment interface (oom_score_adj).
|
- Add support for new oom killer adjustment interface (oom_score_adj).
|
||||||
|
Loading…
Reference in New Issue
Block a user