linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Data scribbling for raid6 is wrong?
@ 2011-12-15  3:15 Tao Guo
  2011-12-15  4:27 ` NeilBrown
  0 siblings, 1 reply; 4+ messages in thread
From: Tao Guo @ 2011-12-15  3:15 UTC (permalink / raw)
  To: linux-raid

Hi all,

Today I checked the raid6's scribbling code, and I think there may be
some improvements to handle bad sectors:

If we have one bad sector(with corrupted data) in the data block,
scribbling thread will find parity mismatch and will try to
recompute&rewrite P&Q, but that will cause final data loss.
Since we have P & Q,  actually we can try to use them and find out the
wrong data block then fix it.

But the algorithm to find the bad data block seems not
straightforward... Does anyone know if there is any paper discussed
this issue before?

Update: I just found there is one talk about this in FAST08:
http://www.usenix.org/events/fast08/tech/krioukov.html.
But that approach will add checksums.etc. For bare-bones raid6, does
any guru have any better ideas?

Thanks,
-Tao
--
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

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

end of thread, other threads:[~2011-12-15  9:33 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-12-15  3:15 Data scribbling for raid6 is wrong? Tao Guo
2011-12-15  4:27 ` NeilBrown
2011-12-15  5:48   ` Tao Guo
2011-12-15  9:33   ` David 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).