aboutsummaryrefslogtreecommitdiffstats
path: root/main/lvm2/mlockall-default-config.patch
blob: 78eecf0a76ecde55bcec783e51af2d33606eb7ef (plain)
1
2
3
4
5
6
7
8
9
10
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.