Browse code

Merge "Change CINDER_LVM_TYPE to 'auto' as the default"

Jenkins authored on 2017/09/19 14:52:56
Showing 1 changed files
... ...
@@ -70,12 +70,11 @@ CINDER_SERVICE_PROTOCOL=${CINDER_SERVICE_PROTOCOL:-$SERVICE_PROTOCOL}
70 70
 CINDER_SERVICE_LISTEN_ADDRESS=${CINDER_SERVICE_LISTEN_ADDRESS:-$SERVICE_LISTEN_ADDRESS}
71 71
 
72 72
 # What type of LVM device should Cinder use for LVM backend
73
-# Defaults to default, which is thick, the other valid choice
74
-# is thin, which as the name implies utilizes lvm thin provisioning.
75
-# Thinly provisioned LVM volumes may be more efficient when using the Cinder
76
-# image cache, but there are also known race failures with volume snapshots
77
-# and thinly provisioned LVM volumes, see bug 1642111 for details.
78
-CINDER_LVM_TYPE=${CINDER_LVM_TYPE:-default}
73
+# Defaults to auto, which will do thin provisioning if it's a fresh
74
+# volume group, otherwise it will do thick. The other valid choices are
75
+# default, which is thick, or thin, which as the name implies utilizes lvm
76
+# thin provisioning.
77
+CINDER_LVM_TYPE=${CINDER_LVM_TYPE:-auto}
79 78
 
80 79
 # Default backends
81 80
 # The backend format is type:name where type is one of the supported backend