linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* AW: RFC - new raid superblock layout for md driver
@ 2002-12-10  8:17 Martin Bene
  2002-12-10 23:07 ` Neil Brown
  0 siblings, 1 reply; 2+ messages in thread
From: Martin Bene @ 2002-12-10  8:17 UTC (permalink / raw)
  To: Neil Brown; +Cc: linux-raid

Hi Neil,

> When a raid1 array is out of sync, it doesn't mean anything to say
> which disc is out of sync.  They all are, with each other...
> Nonetheless, the per-device stateflags have an 'in-sync' bit which can
> be set or cleared as appropriate.

Not quite, esp. not in the case of interrupted sync. in that case you've got
one disk with valid data and another disk known to contain nothing usable.

Disk1		Disk2
aaaaaaaaaa	aaaaabbbbb

If the information that disk2 is currently NOT usable isn't preserved bad
things might happen on resume - I don't think a result of 

Disk1		Disk2
aaaaabbbbb	aaaaabbbbb

after resync finishes would make anyone especially happy :-)

So as soon as we get into the "resume raid sync" business, even raid1 very
defininitely needs in/out-of sync indicators.

Bye, Martin

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2002-12-10 23:07 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-12-10  8:17 AW: RFC - new raid superblock layout for md driver Martin Bene
2002-12-10 23:07 ` Neil Brown

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).