[Ocfs2-devel] [PATCH 0/2] Avoid read-only filesystem on dx corruptions

Goldwyn Rodrigues rgoldwyn at gmail.com
Wed Jun 15 08:57:23 PDT 2011


In case of an error while reading a dx tree of a directory,
the filesystem turns read-only. The information to process the request
is present in the main directory structure.

This patchset disables the index directory in case of an error, and
proceeds with the operation using the information in the main
directory structure. It prints the necessary errors in the kernel
messages for user to identify the corruption.

TODO: Modify fsck.ocfs2 to create index for a directory large enough for an
index when it is not enabled.

-- 
Goldwyn



More information about the Ocfs2-devel mailing list