[Ocfs2-tools-commits] branch, tunefs-cleanup, created. ocfs2-tools-1.4.0-119-g1708984

svn-commits at oss.oracle.com svn-commits at oss.oracle.com
Fri Jul 11 02:17:14 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  1708984d7034f6ffa02d4bec50ee0ed6fc14d4d6 (commit)

- Log -----------------------------------------------------------------
commit 1708984d7034f6ffa02d4bec50ee0ed6fc14d4d6
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 ad71f3a7c85664314d68bb9c89e3721933f8b91e
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 8047f9095224ddc619ab7106dd96e7e81fcb5082
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 d403b357da697c5fb643562fc501929fcc3b3f90
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 10ed1b026e97a1c50dad042ec52bea18c3b6690c
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 99bd5b1aa67941431f084f20d2479e8c3ad1ca86
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 fdd631687970c73339eaf4a1a720ef8cb441562e
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 0ba38d9dca4bf2cbadc7ccefd15161c23cb98d65
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 e91c7097cf771acfe67b9d3f507255f79c1e4942
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 345c81d5ee01942c2877719d66f718240aa93a1c
Author: Joel Becker <joel.becker at oracle.com>
Date:   Fri Jul 11 02:11:38 2008 -0700

    tunefs.ocfs2: Add tunefs_interact_critical() to libtunefs.
    
    Operations that are VERY unsafe may always need to ask the user.  Let's
    create an interactive function for that particular case.
    
    Signed-off-by: Joel Becker <joel.becker at oracle.com>

commit 8f39df4d42b19f33f7393fcfaff18351f1b7c178
Author: Joel Becker <joel.becker at oracle.com>
Date:   Fri Jul 11 01:17:23 2008 -0700

    tunefs.ocfs2: Use printf attribute for libtunefs output functions.
    
    We really want gcc checking our printf formats.
    
    Signed-off-by: Joel Becker <joel.becker at oracle.com>

commit 9d45983091a62b3dff90b801c0c69b85676284e9
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 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