From 5ae7a016b8e5796d36cf491345b1cf8e43ec9ea5 Mon Sep 17 00:00:00 2001 From: Heinz Mauelshagen Date: Thu, 13 Apr 2017 16:10:49 +0200 Subject: [PATCH] lvcreate: raise default raid regionsize to 2MiB Related: rhbz1392947. --- conf/example.conf.in | 2 +- lib/config/defaults.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/conf/example.conf.in b/conf/example.conf.in index 78f11d1aa..ed34b9110 100644 --- a/conf/example.conf.in +++ b/conf/example.conf.in @@ -1297,7 +1297,7 @@ activation { # The clean/dirty state of data is tracked for each region. # The value is rounded down to a power of two if necessary, and # is ignored if it is not a multiple of the machine memory page size. - raid_region_size = 512 + raid_region_size = 2048 # Configuration option activation/error_when_full. # Return errors if a thin pool runs out of space. diff --git a/lib/config/defaults.h b/lib/config/defaults.h index b5d9983f5..65b81f1d1 100644 --- a/lib/config/defaults.h +++ b/lib/config/defaults.h @@ -202,7 +202,7 @@ #define DEFAULT_ACTIVATION_MODE "degraded" #define DEFAULT_USE_LINEAR_TARGET 1 #define DEFAULT_STRIPE_FILLER "error" -#define DEFAULT_RAID_REGION_SIZE 512 /* KB */ +#define DEFAULT_RAID_REGION_SIZE 2048 /* KB */ #define DEFAULT_INTERVAL 15 #define DEFAULT_MAX_HISTORY 100