[Ocfs2-devel] How can ecc be corrected?
Sunil Mushran
sunil.mushran at oracle.com
Mon Jun 20 09:32:50 PDT 2011
On 06/18/2011 09:13 PM, Goldwyn Rodrigues wrote:
> I suppose it is still in the correctable limits. By failing I meant a
> "stat" output in debugfs gives a "FAILED CHECKSUM" error.
>
> On reading more I found we are not writing the superblock anywhere in
> kernel module and perhaps the reason the block_check values remain
> unchanged. PCMIIW.
>
> This brings me to the next question: Why don't we use mnt_count? The
> fact that it is distributed makes life complicated, but still...
Yeah.. Mark had added the failed checksum check in debugfs.
Without that we were running blind. Hard to compute it in the head. ;)
mnt count was originally added in extN to force fsck after N mounts.
That has never worked for us because fsck is a offline process. And it
could take time. It is prudent to let users control when it's run.
FWIW, extN has also changed its default behaviour to ignore mnt count.
More information about the Ocfs2-devel
mailing list