|
|
146ac4 |
From 823cff48df8cb6b077e608818f81c5805b26acc0 Mon Sep 17 00:00:00 2001
|
|
|
146ac4 |
From: David Teigland <teigland@redhat.com>
|
|
|
146ac4 |
Date: Wed, 20 Feb 2019 13:30:46 -0600
|
|
|
146ac4 |
Subject: [PATCH 1/5] config: change scan_lvs default to 0
|
|
|
146ac4 |
|
|
|
146ac4 |
so that lvm does not scan LVs for PVs by default.
|
|
|
146ac4 |
|
|
|
146ac4 |
+ build: make generate
|
|
|
146ac4 |
|
|
|
146ac4 |
(cherry picked from commit 7be6791e707da333e56aea3cc50c079ab6207bad)
|
|
|
146ac4 |
---
|
|
|
146ac4 |
conf/example.conf.in | 2 +-
|
|
|
146ac4 |
lib/config/defaults.h | 2 +-
|
|
|
146ac4 |
2 files changed, 2 insertions(+), 2 deletions(-)
|
|
|
146ac4 |
|
|
|
146ac4 |
diff --git a/conf/example.conf.in b/conf/example.conf.in
|
|
|
146ac4 |
index a54dc62..2e7bb3c 100644
|
|
|
146ac4 |
--- a/conf/example.conf.in
|
|
|
146ac4 |
+++ b/conf/example.conf.in
|
|
|
146ac4 |
@@ -168,7 +168,7 @@ devices {
|
|
|
146ac4 |
|
|
|
146ac4 |
# Configuration option devices/scan_lvs.
|
|
|
146ac4 |
# Scan LVM LVs for layered PVs.
|
|
|
146ac4 |
- scan_lvs = 1
|
|
|
146ac4 |
+ scan_lvs = 0
|
|
|
146ac4 |
|
|
|
146ac4 |
# Configuration option devices/multipath_component_detection.
|
|
|
146ac4 |
# Ignore devices that are components of DM multipath devices.
|
|
|
146ac4 |
diff --git a/lib/config/defaults.h b/lib/config/defaults.h
|
|
|
146ac4 |
index 3da29f0..e763a17 100644
|
|
|
146ac4 |
--- a/lib/config/defaults.h
|
|
|
146ac4 |
+++ b/lib/config/defaults.h
|
|
|
146ac4 |
@@ -301,6 +301,6 @@
|
|
|
146ac4 |
#define DEFAULT_VDO_POOL_AUTOEXTEND_THRESHOLD 100
|
|
|
146ac4 |
#define DEFAULT_VDO_POOL_AUTOEXTEND_PERCENT 20
|
|
|
146ac4 |
|
|
|
146ac4 |
-#define DEFAULT_SCAN_LVS 1
|
|
|
146ac4 |
+#define DEFAULT_SCAN_LVS 0
|
|
|
146ac4 |
|
|
|
146ac4 |
#endif /* _LVM_DEFAULTS_H */
|
|
|
146ac4 |
--
|
|
|
146ac4 |
1.8.3.1
|
|
|
146ac4 |
|