recipes: modules/perl/xml-sax: added version 1.02
[dragora.git] / patches / lvm2 / mlockall-default-config.patch
blob305ddeedb743ea7e172f7dcd7755bfa453fb28ce
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 --- ./lib/config/defaults.h.orig
13 +++ ./lib/config/defaults.h
14 @@ -55,7 +55,7 @@
15 #define DEFAULT_LVMLOCKD_LOCK_RETRIES 3
16 #define DEFAULT_LVMETAD_UPDATE_WAIT_TIME 10
17 #define DEFAULT_PRIORITISE_WRITE_LOCKS 1
18 -#define DEFAULT_USE_MLOCKALL 0
19 +#define DEFAULT_USE_MLOCKALL 1
20 #define DEFAULT_METADATA_READ_ONLY 0
21 #define DEFAULT_LVDISPLAY_SHOWS_FULL_DEVICE_PATH 0
22 #define DEFAULT_UNKNOWN_DEVICE_NAME "[unknown]"