stages/1: do not build gettext-tiny here since this will be built from 00-core.order...
[dragora.git] / patches / lvm2 / mlockall-default-config.patch
blob1daadeff3d29ebbad43e7ed74ff4b259cb299324
1 --- ./conf/example.conf.in.orig
2 +++ ./conf/example.conf.in
3 @@ -1352,7 +1352,7 @@
4 # Use the old behavior of mlockall to pin all memory.
5 # Prior to version 2.02.62, LVM used mlockall() to pin the whole
6 # process's memory while activating devices.
7 - use_mlockall = 0
8 + use_mlockall = 1
10 # Configuration option activation/monitoring.
11 # Monitor LVs that are activated.
12 diff --git a/lib/config/defaults.h b/lib/config/defaults.h
13 index 8ab1fde..57b2443 100644
14 --- a/lib/config/defaults.h
15 +++ b/lib/config/defaults.h
16 @@ -53,7 +53,7 @@
17 #define DEFAULT_WAIT_FOR_LOCKS 1
18 #define DEFAULT_LVMLOCKD_LOCK_RETRIES 3
19 #define DEFAULT_PRIORITISE_WRITE_LOCKS 1
20 -#define DEFAULT_USE_MLOCKALL 0
21 +#define DEFAULT_USE_MLOCKALL 1
22 #define DEFAULT_METADATA_READ_ONLY 0
23 #define DEFAULT_LVDISPLAY_SHOWS_FULL_DEVICE_PATH 0