diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2015-07-08 07:43:27 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2015-07-08 07:44:57 +0000 |
commit | 7cfe57d546e6a336fc5e0eb9c305bb9c3707bee2 (patch) | |
tree | c3c20f16d611e8883c2ec2d7b6d5f75f23808ec1 /main/lvm2/mlockall-default-config.patch | |
parent | 3b171f1e37492b0de6fcd5b11b2315336f725406 (diff) | |
download | aports-7cfe57d546e6a336fc5e0eb9c305bb9c3707bee2.tar.bz2 aports-7cfe57d546e6a336fc5e0eb9c305bb9c3707bee2.tar.xz |
main/lvm2: use mlockall by default
this works around issue with the "smart" memory locking
ref #3107
Diffstat (limited to 'main/lvm2/mlockall-default-config.patch')
-rw-r--r-- | main/lvm2/mlockall-default-config.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/main/lvm2/mlockall-default-config.patch b/main/lvm2/mlockall-default-config.patch new file mode 100644 index 0000000000..78eecf0a76 --- /dev/null +++ b/main/lvm2/mlockall-default-config.patch @@ -0,0 +1,11 @@ +--- ./conf/example.conf.in.orig ++++ ./conf/example.conf.in +@@ -1246,7 +1246,7 @@ + # Use the old behavior of mlockall to pin all memory. + # Prior to version 2.02.62, LVM used mlockall() to pin + # the whole process's memory while activating devices. +- use_mlockall = 0 ++ use_mlockall = 1 + + # Configuration option activation/monitoring. + # Monitor LVs that are activated. |