1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # This copyright note is auto-generated by scripts/Create-CopyPatch.
4 # T2 SDE: package/*/lvm2/mlockall-default-config.patch.musl
5 # Copyright (C) 2021 The T2 SDE Project
7 # More information can be found in the files COPYING and README.
9 # This patch file is dual-licensed. It is available under the license the
10 # patched project is licensed under, as long as it is an OpenSource license
11 # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
12 # of the GNU General Public License as published by the Free Software
13 # Foundation; either version 2 of the License, or (at your option) any later
15 # --- T2-COPYRIGHT-NOTE-END ---
17 index 8ab1fde..57b2443 100644
18 --- a/lib/config/defaults.h
19 +++ b/lib/config/defaults.h
21 #define DEFAULT_WAIT_FOR_LOCKS 1
22 #define DEFAULT_LVMLOCKD_LOCK_RETRIES 3
23 #define DEFAULT_PRIORITISE_WRITE_LOCKS 1
24 -#define DEFAULT_USE_MLOCKALL 0
25 +#define DEFAULT_USE_MLOCKALL 1
26 #define DEFAULT_METADATA_READ_ONLY 0
27 #define DEFAULT_LVDISPLAY_SHOWS_FULL_DEVICE_PATH 0