[Ocfs2-devel] Do filesystem need to turn RO on dx corruptions?

Joel Becker jlbec at evilplan.org
Tue Jun 7 23:41:32 PDT 2011


On Tue, Jun 07, 2011 at 10:41:42AM -0500, Goldwyn Rodrigues wrote:
> There have been index tree corruptions, where the directory entries
> are correct however the index directory is not. In this case, the
> filesystem turns read-only where as all the information to complete
> the operation is still available because the primary directory
> structure is sane. The ocfs2 module could just disable indexed
> directory for this directory and continue handling the operation like
> the normal directories without indexes. Of course, it still writes the
> warning message, to run fsck, to the kernel log  but avoid the RO
> filesystem which halt all I/O writes.

Goldwyn,
	You're correct, this is a more graceful solution.  We've just
never gotten around to it.

Joel

-- 

"Behind every successful man there's a lot of unsuccessful years."
        - Bob Brown

			http://www.jlbec.org/
			jlbec at evilplan.org



More information about the Ocfs2-devel mailing list