1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00

fix default extent_size

This commit is contained in:
Alasdair Kergon 2008-01-17 15:31:18 +00:00
parent 6860fecb81
commit 3650e518e7
2 changed files with 2 additions and 3 deletions

View File

@ -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

View File

@ -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;