diff options
Diffstat (limited to 'main/lvm2/mlockall-default-config.patch')
-rw-r--r-- | main/lvm2/mlockall-default-config.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/main/lvm2/mlockall-default-config.patch b/main/lvm2/mlockall-default-config.patch index 1b7590d74b..1daadeff3d 100644 --- a/main/lvm2/mlockall-default-config.patch +++ b/main/lvm2/mlockall-default-config.patch @@ -9,3 +9,16 @@ # Configuration option activation/monitoring. # Monitor LVs that are activated. +diff --git a/lib/config/defaults.h b/lib/config/defaults.h +index 8ab1fde..57b2443 100644 +--- a/lib/config/defaults.h ++++ b/lib/config/defaults.h +@@ -53,7 +53,7 @@ + #define DEFAULT_WAIT_FOR_LOCKS 1 + #define DEFAULT_LVMLOCKD_LOCK_RETRIES 3 + #define DEFAULT_PRIORITISE_WRITE_LOCKS 1 +-#define DEFAULT_USE_MLOCKALL 0 ++#define DEFAULT_USE_MLOCKALL 1 + #define DEFAULT_METADATA_READ_ONLY 0 + #define DEFAULT_LVDISPLAY_SHOWS_FULL_DEVICE_PATH 0 + |