From dd796d6a9485287973e61c427ee45694965203a0 Mon Sep 17 00:00:00 2001 From: Peter Rajnoha Date: Wed, 25 Sep 2013 16:02:38 +0200 Subject: [PATCH] profile: add thin-performance.profile Define a "performance" profile for thin pools which is exactly: - allocation/thin_pool_zero = 0 - thin_pool_chunk_size_calculation = "performance" --- WHATS_NEW | 1 + conf/Makefile.in | 2 +- conf/thin-performance.profile | 4 ++++ 3 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 conf/thin-performance.profile diff --git a/WHATS_NEW b/WHATS_NEW index 04906f028..14ae12ef5 100644 --- a/WHATS_NEW +++ b/WHATS_NEW @@ -1,5 +1,6 @@ Version 2.02.103 - ====================================== + Add thin-performance configuration profile. Add lvm.conf allocation/thin_pool_chunk_size_calculation option. Fix contiguous & cling allocation policies for parity RAID. (2.02.100) Set use_lvmetad=0 on lvmconf --enable-cluster, reset to default on --disable-cluster. diff --git a/conf/Makefile.in b/conf/Makefile.in index f9947b145..8b5238a4d 100644 --- a/conf/Makefile.in +++ b/conf/Makefile.in @@ -19,7 +19,7 @@ CONFSRC=example.conf CONFDEST=lvm.conf DEFAULT_PROFILE=default.profile -PROFILES=$(DEFAULT_PROFILE) +PROFILES=$(DEFAULT_PROFILE) thin-performance.profile include $(top_builddir)/make.tmpl diff --git a/conf/thin-performance.profile b/conf/thin-performance.profile new file mode 100644 index 000000000..fbd46aabb --- /dev/null +++ b/conf/thin-performance.profile @@ -0,0 +1,4 @@ +allocation { + thin_pool_chunk_size_calculation = "performance" + thin_pool_zero = 0 +}