From 3650e518e7d7b4d28357702bff90846d9bcc88ed Mon Sep 17 00:00:00 2001 From: Alasdair Kergon Date: Thu, 17 Jan 2008 15:31:18 +0000 Subject: [PATCH] fix default extent_size --- lib/config/defaults.h | 3 +-- tools/vgcreate.c | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/lib/config/defaults.h b/lib/config/defaults.h index 75fa3dbd0..3e26c4b8b 100644 --- a/lib/config/defaults.h +++ b/lib/config/defaults.h @@ -64,8 +64,7 @@ #define DEFAULT_PVMETADATACOPIES 1 #define DEFAULT_LABELSECTOR UINT64_C(1) #define DEFAULT_READ_AHEAD "auto" -#define DEFAULT_PE_SIZE 4096 /* In KB */ - +#define DEFAULT_EXTENT_SIZE 4096 /* In KB */ #define DEFAULT_MSG_PREFIX " " #define DEFAULT_CMD_NAME 0 diff --git a/tools/vgcreate.c b/tools/vgcreate.c index f316db3f7..188b8f9e6 100644 --- a/tools/vgcreate.c +++ b/tools/vgcreate.c @@ -34,7 +34,7 @@ int vgcreate(struct cmd_context *cmd, int argc, char **argv) } vp_def.vg_name = NULL; - vp_def.extent_size = DEFAULT_PE_SIZE; + vp_def.extent_size = DEFAULT_EXTENT_SIZE * 2; vp_def.max_pv = 0; vp_def.max_lv = 0; vp_def.alloc = ALLOC_NORMAL;