Skip to contentSkip to conversation

master - profile: add thin-generic.profile

PATCH Peter Rajnoha 1 participant 1 message Jun 13, 2014

lore
Share & tools
lore
#0 lore raw
Gitweb:        http://git.fedorahosted.org/git/?p=lvm2.git;a=commitdiff;h=8e0687ca690f9c5aa009e4b1963d46a03f8ba54c
Commit:        8e0687ca690f9c5aa009e4b1963d46a03f8ba54c
Parent:        cf4d5ead0210aa12dfd73fed2061d4d9febce827
Author:        Peter Rajnoha <[email protected]>
AuthorDate:    Fri Jun 13 09:45:26 2014 +0200
Committer:     Peter Rajnoha <[email protected]>
CommitterDate: Fri Jun 13 09:56:29 2014 +0200

profile: add thin-generic.profile

The thin-generic.profile contains settings for thin/thin pool volumes suitable for generic environment/use containing default settings. This allows users to change the global lvm.conf settings at will and still keep the original settings for volumes that have this thin profile assigned already.

---
 WHATS_NEW                 |    1 +
 conf/Makefile.in          |    2 +-
 conf/thin-generic.profile |    4 ++++
 3 files changed, 6 insertions(+), 1 deletions(-)
WHATS_NEW +1 -0
index b77d404..6791f34 100644
@@ -1,5 +1,6 @@
 Version 2.02.107 - 
 ==================================
+  Add thin-generic configuration profile for generic thin settings.
   Fix crash when reporting of empty labels on pvs.
   Use retry_deactivation also when cleaning orphan devices.
   Prompt when setting the VG cluster attr if the cluster is not setup.
conf/Makefile.in +1 -1
index 54852e2..e56b25e 100644
@@ -19,7 +19,7 @@ CONFSRC=example.conf
 CONFDEST=lvm.conf
 
 PROFILE_TEMPLATES=command_profile_template.profile metadata_profile_template.profile
-PROFILES=$(PROFILE_TEMPLATES) $(srcdir)/thin-performance.profile
+PROFILES=$(PROFILE_TEMPLATES) $(srcdir)/thin-generic.profile $(srcdir)/thin-performance.profile
 
 include $(top_builddir)/make.tmpl
 
conf/thin-generic.profile new file +4 -0
new file mode 100644
index 0000000..229a7fc
@@ -0,0 +1,4 @@
+allocation {
+	thin_pool_chunk_size_policy = "generic"
+	thin_pool_zero = 1
+}