All of lore.kernel.org
 help / color / mirror / Atom feed
* [Ocfs2-devel] How can ecc be corrected?
@ 2011-06-17 15:55 Goldwyn Rodrigues
  2011-06-17 16:53 ` Sunil Mushran
  0 siblings, 1 reply; 9+ messages in thread
From: Goldwyn Rodrigues @ 2011-06-17 15:55 UTC (permalink / raw)
  To: ocfs2-devel

Hi,

I am not able to understand the use of metaecc or the ECC in the
metadata. All the metadata contain the ecc to check if the data
written to the block is sane, but what happens in case the ecc does
not match? All it does is fail in case it does not match. There does
not seem a way to correct it.

fsck simply fails in ocfs2_read_inode, (or in some cases such as
superblock inode (2) does not even check) if the ecc does not match.
What is the best way to correct ecc errors? I understand that an
incorrect ECC means the data might be corrupt, but what if we want to
recover? or is it not meant to be corrected at all?

Regards,

-- 
Goldwyn

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

end of thread, other threads:[~2011-06-20 17:34 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-06-17 15:55 [Ocfs2-devel] How can ecc be corrected? Goldwyn Rodrigues
2011-06-17 16:53 ` Sunil Mushran
2011-06-17 18:50   ` Goldwyn Rodrigues
2011-06-17 19:14     ` Sunil Mushran
2011-06-17 23:16       ` Joel Becker
2011-06-20 16:22         ` Sunil Mushran
2011-06-20 17:34           ` Goldwyn Rodrigues
2011-06-19  4:13       ` Goldwyn Rodrigues
2011-06-20 16:32         ` Sunil Mushran

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.