summaryrefslogtreecommitdiff
path: root/system/lvm2/mlockall-default-config.patch
diff options
context:
space:
mode:
authorDan Theisen <djt@hxx.in>2021-10-04 10:37:36 +0000
committerDan Theisen <djt@hxx.in>2021-10-04 10:37:36 +0000
commite6c72fcc75357cbe919d228dc7dffe57f6cbb298 (patch)
treea3f42dd3a43920e2eedfd5a10c3f5a2f9da8ec0a /system/lvm2/mlockall-default-config.patch
parent5aee4146f4da48e5a003c264ad03aa0cf408e3ff (diff)
downloadpackages-e6c72fcc75357cbe919d228dc7dffe57f6cbb298.tar.gz
packages-e6c72fcc75357cbe919d228dc7dffe57f6cbb298.tar.bz2
packages-e6c72fcc75357cbe919d228dc7dffe57f6cbb298.tar.xz
packages-e6c72fcc75357cbe919d228dc7dffe57f6cbb298.zip
system/lvm2: bump to 2.03.13
Diffstat (limited to 'system/lvm2/mlockall-default-config.patch')
-rw-r--r--system/lvm2/mlockall-default-config.patch13
1 files changed, 6 insertions, 7 deletions
diff --git a/system/lvm2/mlockall-default-config.patch b/system/lvm2/mlockall-default-config.patch
index 1daadeff3..898611ec7 100644
--- a/system/lvm2/mlockall-default-config.patch
+++ b/system/lvm2/mlockall-default-config.patch
@@ -1,15 +1,14 @@
---- ./conf/example.conf.in.orig
-+++ ./conf/example.conf.in
-@@ -1352,7 +1352,7 @@
- # Use the old behavior of mlockall to pin all memory.
+--- ./conf/example.conf.in.old 2021-10-04 09:59:13.191167497 +0000
++++ ./conf/example.conf.in 2021-10-04 09:59:41.718184441 +0000
+@@ -1696,7 +1696,7 @@
# Prior to version 2.02.62, LVM used mlockall() to pin the whole
# process's memory while activating devices.
-- use_mlockall = 0
+ # This configuration option has an automatic default value.
+- # use_mlockall = 0
+ use_mlockall = 1
# Configuration option activation/monitoring.
- # Monitor LVs that are activated.
-diff --git a/lib/config/defaults.h b/lib/config/defaults.h
+ # 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