[Ocfs2-tools-devel] Add compress dirs option in fsck.ocfs2

Joel Becker Joel.Becker at oracle.com
Wed Sep 2 14:58:09 PDT 2009


On Tue, Sep 01, 2009 at 07:22:23PM -0500, Goldwyn Rodrigues wrote:
> On Tue, Sep 1, 2009 at 6:34 PM, Sunil Mushran<sunil.mushran at oracle.com> wrote:
> >
> > Also, don't we have to handle ocfs2_dir_block_trailer.
> >
> 
> This is untouched since we calculate the end offset beforehand.

	Correct.

> However, the patch does not update db_free_rec_len. I got the
> impression that it is unused from the header file, wheras it is
> actually being used in ocfs2.ko. Does db_free_rec_len represents the
> size of (only) the hole, or the size of the dir_entry which contains
> the hole?

	Don't worry about it.  dx_dir support isn't in the tools yet,
which is why the tools don't modify db_free_rec_len or any other dx_dir
field of the trailer.  When Mark adds dx_dir support (*nudge*) he'll fix
it up.

Joel

-- 

"Reader, suppose you were and idiot.  And suppose you were a member of
 Congress.  But I repeat myself."
	- Mark Twain

Joel Becker
Principal Software Developer
Oracle
E-mail: joel.becker at oracle.com
Phone: (650) 506-8127



More information about the Ocfs2-tools-devel mailing list