mrc0mmand / rpms / lvm2

Forked from rpms/lvm2 2 years ago
Clone

Blame SOURCES/lvm2-default-allow-changes-with-duplicate-pvs.patch

c0e5af
 conf/example.conf.in  | 2 +-
c0e5af
 lib/config/defaults.h | 2 +-
c0e5af
 2 files changed, 2 insertions(+), 2 deletions(-)
c0e5af
c0e5af
diff --git a/conf/example.conf.in b/conf/example.conf.in
f0aa83
index 4894d04..48afbd1 100644
c0e5af
--- a/conf/example.conf.in
c0e5af
+++ b/conf/example.conf.in
c0e5af
@@ -311,7 +311,7 @@ devices {
c0e5af
 	# or activating LVs in it while a PV appears on multiple devices.
c0e5af
 	# Enabling this setting allows the VG to be used as usual even with
c0e5af
 	# uncertain devices.
c0e5af
-	allow_changes_with_duplicate_pvs = 0
c0e5af
+	allow_changes_with_duplicate_pvs = 1
c0e5af
 }
c0e5af
 
c0e5af
 # Configuration section allocation.
c0e5af
diff --git a/lib/config/defaults.h b/lib/config/defaults.h
f0aa83
index d9e19d9..894b979 100644
c0e5af
--- a/lib/config/defaults.h
c0e5af
+++ b/lib/config/defaults.h
c0e5af
@@ -45,7 +45,7 @@
c0e5af
 #define DEFAULT_DATA_ALIGNMENT_DETECTION 1
c0e5af
 #define DEFAULT_ISSUE_DISCARDS 0
c0e5af
 #define DEFAULT_PV_MIN_SIZE_KB 2048
c0e5af
-#define DEFAULT_ALLOW_CHANGES_WITH_DUPLICATE_PVS 0
c0e5af
+#define DEFAULT_ALLOW_CHANGES_WITH_DUPLICATE_PVS 1
c0e5af
 
c0e5af
 #define DEFAULT_LOCKING_LIB "liblvm2clusterlock.so"
c0e5af
 #define DEFAULT_ERROR_WHEN_FULL 0