[Ocfs2-tools-devel] [PATCH 21/22] tunefs rework: Add ocfs2ne.c

Mark Fasheh mfasheh at suse.com
Fri Aug 8 15:09:08 PDT 2008


On Fri, Jul 25, 2008 at 07:07:59PM -0700, Joel Becker wrote:
> This is the master ocfs2ne program which will become tunefs.ocfs2.  It
> handles processing all arguments and locking down the filesystem before
> calling the selected operations in turn.
> 
> This is the culmination of a rework of tunefs.ocfs2.  There were these
> major goals:
> 
> 1) All operations would be independent.  They do not need to know what
>    else is running.  They live in a separate C file and can be tested by
>    themselves.
> 
> 2) All operation can run in the same invocation of tunefs.  The master
>    program makes sure the appropriate locks are taken and that each
>    operation is given a clean filesystem to work with.
> 
> 3) The actual working code should move over with only small changes.
>    The code that performs an operation is largely unchanged.  Output
>    functions are different, and a couple common bits of code moved into
>    libocfs2ne.
> 
> Signed-off-by: Joel Becker <joel.becker at oracle.com>
Signed-off-by: Mark Fasheh <mfasheh at suse.com>

--
Mark Fasheh



More information about the Ocfs2-tools-devel mailing list