On Wed, 8 Dec 2010 11:30:28 +0000 "Hawrylewicz Czarnowski, Przemyslaw" <przemyslaw.hawrylewicz.czarnowski@xxxxxxxxx> wrote: > it results in wrong output of mdadm --detail (shows reshaping instead > of recovering) > > Signed-off-by: Przemyslaw Czarnowski <przemyslaw.hawrylewicz.czarnowski@xxxxxxxxx> > --- > mdstat.c | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > > diff --git a/mdstat.c b/mdstat.c > index fdce516..c5a07b5 100644 > --- a/mdstat.c > +++ b/mdstat.c > @@ -253,7 +253,7 @@ struct mdstat_ent *mdstat_read(int hold, int start) > if (strncmp(w, "reshape", 7)==0) > ent->resync = 2; > if (strncmp(w, "recovery", 8)==0) > - ent->resync = 2; > + ent->resync = 0; > if (strncmp(w, "check", 5)==0) > ent->resync = 3; > Thanks. Applied. NeilBrown -- To unsubscribe from this list: send the line "unsubscribe linux-raid" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html