1
0
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:
Alasdair G Kergon 2016-08-19 14:53:33 +01:00
parent ea0f604e70
commit e192fde687

View File

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