> -----Original Message----- > From: dan.j.williams@xxxxxxxxx [mailto:dan.j.williams@xxxxxxxxx] On > Behalf Of Dan Williams > Sent: Thursday, July 22, 2010 2:59 AM > To: Trela, Maciej > Cc: Neil Brown; Kwolek, Adam; linux-raid@xxxxxxxxxxxxxxx > Subject: Re: [PATCH 1/2] md: raid5 return new layout in mdstat while > reshaping > > On Wed, Jul 21, 2010 at 4:03 AM, Trela, Maciej <Maciej.Trela@xxxxxxxxx> > wrote: > > From: Maciej Trela <maciej.trela@xxxxxxxxx> > > > > While reshaping, report mdstat algorithm according to the new_layout. > > It's not immediately clear to me why this is needed? The md/layout > attribute in sysfs shows the new_layout during reshape if userspace > forgets what it changed (should also be recorded in the metadata). If > it is needed then spell that out in the commit message. > Yes, you are right. We can definitely read the new layout from sysfs. Thanks. -- 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