[Ocfs2-tools-commits] branch, tunefs-cleanup, created. ocfs2-tools-1.4.0-126-gc19cc20

svn-commits at oss.oracle.com svn-commits at oss.oracle.com
Wed Jul 16 02:02:23 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  c19cc206a005e26816337d395cacbd6a7f5801b8 (commit)

- Log -----------------------------------------------------------------
commit c19cc206a005e26816337d395cacbd6a7f5801b8
Author: Joel Becker <joel.becker at oracle.com>
Date:   Wed Jul 16 01:59:01 2008 -0700

    tunefs.ocfs2: Add the resize method.
    
    ocfs2ne_resize_volume handles both online and offline resizing.  Well,
    except for the fact that it doesn't open with ONLINE allowed :-)
    
    Signed-off-by: Joel Becker <joel.becker at oracle.com>

commit e2933e5cbcd725a63e620cc80d2a0f7c9e50575c
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 7209e2c3fd9f3dd68563f8d82f0929f9b91421fd
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 5eb8499466d0ad0f92f80208c7cc211bdd526f55
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 4d6dfe1a84ec0c502ad9d6abfa165ec5c1cdd5b8
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 8cd4ec1e7a899c3bd9762ab698d8c3c41084479b
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 b3f5b21c8085bc24c004b7a2bb50ee29d6f97926
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 d1983e59d3272860baa4d50634de5795031d60ae
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 d170ce0c70ef1aea6fb76b275ff017c6b7ebd654
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 ba80d78cfbedfce349d83abeb2a8e265a1aaab39
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 df0c8c4ea57976bc0cfb60fce06c25998f9a57e5
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 c4d8ca2a9dde90aed0d363ca486ad530f18b4177
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 db09f22709727a3c3d46e1bf324f427b764fb9a7
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 21c36500e7542233dadc9d170c2ba859a30f070c
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 41a7b79be03b726c60ff00260916cdd2df83996b
Author: Joel Becker <joel.becker at oracle.com>
Date:   Wed Jul 16 01:01:57 2008 -0700

    tunefs.ocfs2: Open the online operation descriptor.
    
    Online tune operations need to send ioctl(2) calls to a running
    filesystem.
    
    Look up the mountpoint for a mounted device and get a file descriptor to
    it.
    
    Signed-off-by: Joel Becker <joel.becker at oracle.com>

commit b2b3888523b910b10fefe4ec1688cc98c37be925
Author: Joel Becker <joel.becker at oracle.com>
Date:   Wed Jul 16 00:30:28 2008 -0700

    tunefs.ocfs2: Lock out local mounts during tunefs operations
    
    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