From 4615385d6c8203001962a7a31dd02cdb1a73544b Mon Sep 17 00:00:00 2001 From: davidovski Date: Fri, 27 May 2022 18:34:26 +0100 Subject: added tor --- repo/util/lvm2/mlockall-default-config.patch | 22 ---------------------- 1 file changed, 22 deletions(-) delete mode 100644 repo/util/lvm2/mlockall-default-config.patch (limited to 'repo/util/lvm2/mlockall-default-config.patch') diff --git a/repo/util/lvm2/mlockall-default-config.patch b/repo/util/lvm2/mlockall-default-config.patch deleted file mode 100644 index 305ddee..0000000 --- a/repo/util/lvm2/mlockall-default-config.patch +++ /dev/null @@ -1,22 +0,0 @@ ---- ./conf/example.conf.in.orig -+++ ./conf/example.conf.in -@@ -1352,7 +1352,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. ---- ./lib/config/defaults.h.orig -+++ ./lib/config/defaults.h -@@ -55,7 +55,7 @@ - #define DEFAULT_LVMLOCKD_LOCK_RETRIES 3 - #define DEFAULT_LVMETAD_UPDATE_WAIT_TIME 10 - #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 - #define DEFAULT_UNKNOWN_DEVICE_NAME "[unknown]" -- cgit v1.2.1