[Ocfs2-tools-commits] branch, tunefs-cleanup, created. ocfs2-tools-1.4.0-118-g3f0c1f2

svn-commits at oss.oracle.com svn-commits at oss.oracle.com
Thu Jul 10 20:06:11 PDT 2008


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Tools to manage the ocfs2 filesystem.".

The branch, tunefs-cleanup has been created
        at  3f0c1f20155ad29c78ef56727205a66e14aeee53 (commit)

- Log -----------------------------------------------------------------
commit 3f0c1f20155ad29c78ef56727205a66e14aeee53
Author: Joel Becker <joel.becker at oracle.com>
Date:   Thu Jul 10 20:05:48 2008 -0700

    tunefs.ocfs2: Have the set_label method use tunefs_interact()
    
    Signed-off-by: Joel Becker <joel.becker at oracle.com>

commit 6bd9a268131443e6ad3b59b3801ba8432befd189
Author: Joel Becker <joel.becker at oracle.com>
Date:   Thu Jul 10 20:04:03 2008 -0700

    tunefs.ocfs2: Add an interactive function to libtunefs.
    
    While tunefs methods just perform their operations by default, sometimes
    people want to select the operations interactively.  The -i option is
    added, and the tunefs_interact() function uses it.  Methods can now call
    tunefs_interact() before they do anything.  If it returns true, they
    proceed.  If it returns false, they exit cleanly.
    
    tunefs_interact() always returns true when in non-interactive mode (-i
    was not specified).
    
    Signed-off-by: Joel Becker <joel.becker at oracle.com>

commit 4ee009fe3ffea1e05f33d8db3e9371a5c9a4fe8d
Author: Joel Becker <joel.becker at oracle.com>
Date:   Thu Jul 10 01:33:21 2008 -0700

    tunefs.ocfs2: Add a method to enable and disable backup superblocks
    
    This is the first feature method.  They'll all follow an enable|disable
    paradigm.
    
    Signed-off-by: Joel Becker <joel.becker at oracle.com>

commit 5f37d4f228943bc12b340bcdd102227682ce1d66
Author: Joel Becker <joel.becker at oracle.com>
Date:   Tue Jul 8 19:02:59 2008 -0700

    tunefs.ocfs2: Method to list sparse files.
    
    Simply move the sparse listing code to a method.
    
    Signed-off-by: Joel Becker <joel.becker at oracle.com>

commit e21d90323a89cdff6ac44785626dc142c17de41b
Author: Joel Becker <joel.becker at oracle.com>
Date:   Tue Jul 8 16:59:01 2008 -0700

    tunefs.ocfs2: Add the journal resize method.
    
    This is a very simple method that takes a new size and resizes all the
    journals on the volume.
    
    Signed-off-by: Joel Becker <joel.becker at oracle.com>

commit fe72913b7cede87a152c69b1d598180159194196
Author: Joel Becker <joel.becker at oracle.com>
Date:   Tue Jul 8 16:31:15 2008 -0700

    tunefs.ocfs2: Provide a parser for suffixed numbers.
    
    That is, 1K == 1024, etc.
    
    Signed-off-by: Joel Becker <joel.becker at oracle.com>

commit 24293ba797846293e30fb7a4509e3adf66bdf08e
Author: Joel Becker <joel.becker at oracle.com>
Date:   Tue Jul 8 14:24:32 2008 -0700

    tunefs.ocfs2: Add a method for adding and removing slots
    
    A method program for adding and removing node slots.
    
    Signed-off-by: Joel Becker <joel.becker at oracle.com>

commit 770749edd9cfe9e5c5df9f30385b65991bd6c0c9
Author: Joel Becker <joel.becker at oracle.com>
Date:   Mon Jul 7 22:27:13 2008 -0700

    tunefs.ocfs2: Add a method for resetting the uuid
    
    ocfs2ne_reset_uuid will reset the volume UUID of an offline filesystem.
    
    Signed-off-by: Joel Becker <joel.becker at oracle.com>

commit 0dca31a192adc5de829118acfc3d7b1ed71d0be9
Author: Joel Becker <joel.becker at oracle.com>
Date:   Mon Jul 7 17:24:19 2008 -0700

    tunefs.ocfs2: Add a method to set the volume label.
    
    Add ocfs2ne_set_label method.
    
    Signed-off-by: Joel Becker <joel.becker at oracle.com>

commit 4a5edd120c95406cea352d69997375cefaae0b12
Author: Joel Becker <joel.becker at oracle.com>
Date:   Mon Jul 7 16:59:08 2008 -0700

    tunefs.ocfs2: Add a method for set_mount_type
    
    Add the ocfs2ne_set_mount_type method to switch between local and
    cluster mounts.
    
    Signed-off-by: Joel Becker <joel.becker at oracle.com>

commit a7d7b5121ecd355f243d4338b74d02f5869d279e
Author: Joel Becker <joel.becker at oracle.com>
Date:   Mon Jul 7 16:06:42 2008 -0700

    tunefs.ocfs2: Add the update-cluster-stack method.
    
    This is the first ocfs2ne method - a simple program that does the
    --update-cluster-stack functionality.
    
    Signed-off-by: Joel Becker <joel.becker at oracle.com>

commit 6f69af61b4938b14994318a00e6c13a3cc070345
Author: Joel Becker <joel.becker at oracle.com>
Date:   Thu Jul 10 00:38:20 2008 -0700

    tunefs.ocfs2: Add global bitmap checking to libtunefs.
    
    In theory, a clean filesystem has a consistent global bitmap.  We have
    flags like RESIZE_INPROG and TUNEFS_INPROG to force fsck.
    
    The old tunefs.ocfs2 also scans the global bitmap for any operation that
    requires operation.  It's a reasonably fast extra sanity check.  Let's
    port that to tunefs_open() with the flag TUNEFS_FLAG_ALLOCATION.
    
    Signed-off-by: Joel Becker <joel.becker at oracle.com>

commit 3184285bcbb57af58024e686b9b022a52b0a660b
Author: Joel Becker <joel.becker at oracle.com>
Date:   Wed Jul 9 15:32:37 2008 -0700

    tunefs.ocfs2: Verbosity in signal handling
    
    Use the errorf() function for errors printed by handle_signal().
    
    Signed-off-by: Joel Becker <joel.becker at oracle.com>

commit 86bcec714cee872a3bfdb4e5d99aeeb9b10d21e6
Author: Joel Becker <joel.becker at oracle.com>
Date:   Wed Jul 9 15:29:52 2008 -0700

    tunefs.ocfs2: Put a little verbosity in tunefs_close()
    
    Signed-off-by: Joel Becker <joel.becker at oracle.com>

commit 6a5a4f6f52f74d4a231f76df315e0ba094eedefe
Author: Joel Becker <joel.becker at oracle.com>
Date:   Wed Jul 9 17:39:02 2008 -0700

    tunefs.ocfs2: Clean up tunefs_set_journal_size() some more.
    
    tunefs_set_journal_size() could use some better verbosef() text.  Also,
    use ocfs2_sprintf_system_file_name() instead of open-coding it.
    
    Signed-off-by: Joel Becker <joel.becker at oracle.com>

commit 5fb210646986a42a05aaf2ef9b48b6bf107a8902
Author: Joel Becker <joel.becker at oracle.com>
Date:   Wed Jul 9 13:33:47 2008 -0700

    tunefs.ocfs2: Provide generic options via tunefs_init()
    
    libtunefs now takes argc+argv in tunefs_init() and handles the generic
    options (verbosity, help, etc).  When tunefs_init() returns, argc and
    argv are stripped of those options.
    
    Signed-off-by: Joel Becker <joel.becker at oracle.com>

commit e0e2777c8948e7a6b520c987b558a59804b0eed6
Author: Joel Becker <joel.becker at oracle.com>
Date:   Tue Jul 8 14:19:02 2008 -0700

    tunefs.ocfs2: Add a function to set journal sizes in libtunefs.
    
    More than one tunefs operation needs to update the size of the journals.
    The resize-journal operation is the obvious example.  The add-slots
    operation needs to add allocation for the new journals it has created.
    
    Put the functionality in libtunefs.
    
    Signed-off-by: Joel Becker <joel.becker at oracle.com>

commit 797bf39db7c81ce42b90d03285076847f0eacb4d
Author: Joel Becker <joel.becker at oracle.com>
Date:   Tue Jul 8 16:10:17 2008 -0700

    tunefs.ocfs2: Set and clear the in-progress flags via libtunefs
    
    Let's wrap setting and clearing the in-progress flags.  This includes
    the historically different RESIZE_INPROG.
    
    Signed-off-by: Joel Becker <joel.becker at oracle.com>

commit 60a04242a64dc19273cf4d65e1c5adceb73bced2
Author: Joel Becker <joel.becker at oracle.com>
Date:   Tue Jul 8 15:43:17 2008 -0700

    tunefs.ocfs2: Check journals before allowing tunefs operations.
    
    tunefs_open() need to check for dirty journals before allowing offline
    operations.
    
    Signed-off-by: Joel Becker <joel.becker at oracle.com>

commit 7cd25f9715948bfb1660a5cd2bac447b46c8e1cb
Author: Joel Becker <joel.becker at oracle.com>
Date:   Mon Jul 7 23:26:34 2008 -0700

    tunefs.ocfs2: Add verbose output
    
    The library gets a simple verbose printf function, as well as functions
    to tweak the verbosity level.
    
    Signed-off-by: Joel Becker <joel.becker at oracle.com>

commit 2ae5be391eb23c10ea64380daaffdf6279e24962
Author: Joel Becker <joel.becker at oracle.com>
Date:   Mon Jul 7 15:40:42 2008 -0700

    Update license info in tunefs.c
    
    Signed-off-by: Joel Becker <joel.becker at oracle.com>

commit d0ad7ddd2f087b47be23601f14801ba10a7dee6b
Author: Joel Becker <joel.becker at oracle.com>
Date:   Mon Jul 7 15:29:53 2008 -0700

    tunefs.ocfs2: Have libtunefs initialize its own error table
    
    I mean, why not?  Do it first thing, it's a void operation anyway.
    
    Signed-off-by: Joel Becker <joel.becker at oracle.com>

commit e9b5736b79bc0ac86f167e7d57a1b35dfdaf6ddd
Author: Joel Becker <joel.becker at oracle.com>
Date:   Mon Jul 7 15:23:43 2008 -0700

    tunefs.ocfs2: Add parent locking to tunefs_open()
    
    We want a simple scheme whereby a wrapper process can lock the
    filesystem and then call multiple submethods on it without those methods
    trying to lock.  When there is no parent process, the methods should
    lock themselves.
    
    First thought was with semaphores, but really a simple environment
    variable will work.  Now tunefs_open() will check the enviornment - if
    the lock is already held, it will do no locking.
    
    Signed-off-by: Joel Becker <joel.becker at oracle.com>

commit f6367bb0fe0ae08e3a2fd0a0489ece7e722a2bf8
Author: Joel Becker <joel.becker at oracle.com>
Date:   Thu Jul 3 18:38:51 2008 -0700

    tunefs.ocfs2: Separate out lock code from tunefs_open().
    
    THe lock code only will be called by the master process in a
    multi-operation run, so separate it out.
    
    Signed-off-by: Joel Becker <joel.becker at oracle.com>

commit d57fe19876377cce92a416714f5177871f997563
Author: Joel Becker <joel.becker at oracle.com>
Date:   Thu Jul 3 17:35:00 2008 -0700

    tunefs.ocfs2: Test the open modes in libtunefs.
    
    Have the debug code exercise the various open modes.
    
    Signed-off-by: Joel Becker <joel.becker at oracle.com>

commit 1c2f9716b491220d0fc49e9bc6969fb6d23bc743
Author: Joel Becker <joel.becker at oracle.com>
Date:   Thu Jul 3 16:19:00 2008 -0700

    tunefs.ocfs2: Start the internal libtunefs library.
    
    Let's create a library of common tunefs operations - opening the
    filesystem, setting signals, etc.
    
    Signed-off-by: Joel Becker <joel.becker at oracle.com>

-----------------------------------------------------------------------


hooks/post-receive
-- 
Tools to manage the ocfs2 filesystem.



More information about the Ocfs2-tools-commits mailing list