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

fix default stripesize

This commit is contained in:
Alasdair Kergon 2008-01-17 15:53:01 +00:00
parent 3650e518e7
commit bdb91441f2
2 changed files with 2 additions and 1 deletions

View File

@ -1,5 +1,6 @@
Version 2.02.30 - 17th January 2008 Version 2.02.30 - 17th January 2008
=================================== ===================================
Reinstate VG extent size and stripe size defaults (halved). (2.02.29)
Add lists of stacked LV segments using each LV to the internal metadata. Add lists of stacked LV segments using each LV to the internal metadata.
Change vgsplit -l (for unimplemented --list) into --maxlogicalvolumes. Change vgsplit -l (for unimplemented --list) into --maxlogicalvolumes.
Fix process_all_pvs to detect non-orphans with no MDAs correctly. Fix process_all_pvs to detect non-orphans with no MDAs correctly.

View File

@ -195,7 +195,7 @@ static int _validate_stripe_params(struct cmd_context *cmd,
if (lp->stripes > 1 && !lp->stripe_size) { if (lp->stripes > 1 && !lp->stripe_size) {
lp->stripe_size = find_config_tree_int(cmd, lp->stripe_size = find_config_tree_int(cmd,
"metadata/stripesize", "metadata/stripesize",
DEFAULT_STRIPESIZE); DEFAULT_STRIPESIZE) * 2;
log_print("Using default stripesize %s", log_print("Using default stripesize %s",
display_size(cmd, (uint64_t) lp->stripe_size)); display_size(cmd, (uint64_t) lp->stripe_size));
} }