mirror of
git://sourceware.org/git/lvm2.git
synced 2025-01-02 01:18:26 +03:00
lvcreate: Drop warning messages for number of raid stripes.
It's now just setting a default, not adjusting the user's parameter.
This commit is contained in:
parent
ea0f604e70
commit
e192fde687
@ -470,8 +470,7 @@ static int _read_raid_params(struct cmd_context *cmd,
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
log_warn("Adjusting stripes to the minimum of 2 for %s.",
|
log_verbose("Using 2 stripes for %s.", lp->segtype->name);
|
||||||
lp->segtype->name);
|
|
||||||
lp->stripes = 2;
|
lp->stripes = 2;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -497,7 +496,7 @@ static int _read_raid_params(struct cmd_context *cmd,
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
log_warn("Adjusting stripes to the minimum of 3 for %s.", lp->segtype->name);
|
log_verbose("Using 3 stripes for %s.", lp->segtype->name);
|
||||||
lp->stripes = 3;
|
lp->stripes = 3;
|
||||||
} else if (lp->stripes < 2) {
|
} else if (lp->stripes < 2) {
|
||||||
if (lp->stripes_supplied) {
|
if (lp->stripes_supplied) {
|
||||||
@ -505,7 +504,7 @@ static int _read_raid_params(struct cmd_context *cmd,
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
log_warn("Adjusting stripes to the minimum of 2 for %s.", lp->segtype->name);
|
log_verbose("Using 2 stripes for %s.", lp->segtype->name);
|
||||||
lp->stripes = 2;
|
lp->stripes = 2;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user