From e192fde6878a0e32316125b2e4c9813f4a95bede Mon Sep 17 00:00:00 2001 From: Alasdair G Kergon Date: Fri, 19 Aug 2016 14:53:33 +0100 Subject: [PATCH] lvcreate: Drop warning messages for number of raid stripes. It's now just setting a default, not adjusting the user's parameter. --- tools/lvcreate.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/tools/lvcreate.c b/tools/lvcreate.c index d3a64af41..33664c574 100644 --- a/tools/lvcreate.c +++ b/tools/lvcreate.c @@ -470,8 +470,7 @@ static int _read_raid_params(struct cmd_context *cmd, 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; } @@ -497,7 +496,7 @@ static int _read_raid_params(struct cmd_context *cmd, 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; } else if (lp->stripes < 2) { if (lp->stripes_supplied) { @@ -505,7 +504,7 @@ static int _read_raid_params(struct cmd_context *cmd, 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; }