[Ocfs2-tools-commits] branch, tunefs-cleanup, created. ocfs2-tools-1.4.0-123-g00e371d

svn-commits at oss.oracle.com svn-commits at oss.oracle.com
Tue Jul 15 17:00:42 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  00e371d3f4247dbcab5c8e3dd22e511ae50e1328 (commit)

- Log -----------------------------------------------------------------
commit 00e371d3f4247dbcab5c8e3dd22e511ae50e1328
Author: Joel Becker <joel.becker at oracle.com>
Date:   Tue Jul 15 16:47:30 2008 -0700

    tunefs.ocfs2: Add the unwritten extents feature method
    
    This method clears out unwritten extents when disabling.  Enabling is
    just setting the RO_COMPAT flag.
    
    Signed-off-by: Joel Becker <joel.becker at oracle.com>

commit 828e938ec46cbcf9d617379ff4a868e276509f8e
Author: Joel Becker <joel.becker at oracle.com>
Date:   Tue Jul 15 16:22:09 2008 -0700

    tunefs.ocfs2: Add the sparse file feature method
    
    The sparse file feature method can enable and disable sparse files on
    the filesystem.  When disabling sparse files, it will fill in any holes
    that exist on the filesystem.
    
    Signed-off-by: Joel Becker <joel.becker at oracle.com>

commit 5eda74acd513f566f855dc153bda507cb8178baa
Author: Joel Becker <joel.becker at oracle.com>
Date:   Mon Jul 14 19:16:10 2008 -0700

    tunefs.ocfs2: Add tunefs_foreach_inode() to libtunefs.
    
    Add a function to walk the inode scan.  This comes from sparse_file.c,
    made a little more generic so we can use it in multiple feature methods.
    
    Signed-off-by: Joel Becker <joel.becker at oracle.com>

commit a7103f7ec65c8b4fd79a5dab2df24410b97799b6
Author: Joel Becker <joel.becker at oracle.com>
Date:   Mon Jul 14 09:13:01 2008 -0700

    tunefs.ocfs2: Add a method for the extended slotmap feature.
    
    This program enables and disables the extended slotmap feature.
    
    Signed-off-by: Joel Becker <joel.becker at oracle.com>

commit d9a90f1f14a649952bb71064364c0e68106927d5
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 11411bf350f0b306291532207679c27a5434bc73
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 46c9306e168279d7b6f5da8e22125eb3dc695dd2
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 323674d223c1c6d3b1a58eeb4f98494bc3117752
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 1890cec06613121d526eecc37bc9489312761211
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 8772cad3c843a58ea358936447d26ab3077c75ea
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 2d58e293d93f61cf276f36faaeb03ad8464b7183
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 e15817edcd5c577a05ce22a0ee86ccf22eaf4e37
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 fe2227bdb79ba2e2c50467d4a67221074b93fd6d
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 fd407fe5bb50df01f263f860031cebe07741c9fc
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 2bbb16783411d362045ab2336f277981535d128d
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 c783afa288d65d49b3896459ebb34a2ffcdff9a6
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 ab4462c73c12ef76040e16fb7e2ebbcfc57bc1c6
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 b7577df0833919f4822932ec1c88105860885064
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 11b8823ce50aab01bed604f9dce21cb64a6485c5
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 52a1fefdbaf30216a300fe145db0693df1da61ec
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 584c901616d934ee4c7a5a0425287159078c2f0a
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 2890672637d88d4ae74122cd32ce9616ce800dfb
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 69991f15750c3025b582f2d57f929d68cf420471
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 efa2986705e25f03eb35457afa09f13ec2d4402a
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 d4cf04222d1255639bfc3308e7450efbf029597d
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 a542d9a1003a93497e1178830dd949bc55b0c84e
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 e46a2dc49903dddfa748b35a95dabeef2cdfd7bc
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 fe30c22a80457b52bf63d3167d4822e8052b7977
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 1b075e817321fd3102e3fd3318e8a0eb25df2bac
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 87a5e3d1f7eff658830b7fe8f92f397cda18727c
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 fc898997a019bd3f0de92951843a9d71c42ef419
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