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:
parent
6860fecb81
commit
3650e518e7
@ -64,8 +64,7 @@
|
|||||||
#define DEFAULT_PVMETADATACOPIES 1
|
#define DEFAULT_PVMETADATACOPIES 1
|
||||||
#define DEFAULT_LABELSECTOR UINT64_C(1)
|
#define DEFAULT_LABELSECTOR UINT64_C(1)
|
||||||
#define DEFAULT_READ_AHEAD "auto"
|
#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_MSG_PREFIX " "
|
||||||
#define DEFAULT_CMD_NAME 0
|
#define DEFAULT_CMD_NAME 0
|
||||||
|
@ -34,7 +34,7 @@ int vgcreate(struct cmd_context *cmd, int argc, char **argv)
|
|||||||
}
|
}
|
||||||
|
|
||||||
vp_def.vg_name = NULL;
|
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_pv = 0;
|
||||||
vp_def.max_lv = 0;
|
vp_def.max_lv = 0;
|
||||||
vp_def.alloc = ALLOC_NORMAL;
|
vp_def.alloc = ALLOC_NORMAL;
|
||||||
|
Loading…
Reference in New Issue
Block a user