[Ocfs2-tools-commits] branch, tunefs-cleanup, created. ocfs2-tools-1.4.0-127-g02f5e32

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

- Log -----------------------------------------------------------------
commit 02f5e325bf90ac1181ab850ed5a0054c697c5909
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 e8a4cfa7a60a2536e806ca02027c4199baf19b85
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 bb2d08a6f9967c6d959f6b789cb0cff9b6daa852
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 4c86a8918ae5b8c0c1803d8d9d01e15cc9252abf
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 b11ac012c70d91a9ec53cc6f6cd2da86f7e0fe04
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 717776094d84ac08205b5cf392bbe27cf75a7cfc
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 ebf984332c7018586efedc2678ee3368adbc7b1f
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 d1f6c1bf8c2e40b929635296710b4090ac21cade
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 672a32c56e8b3a6b4fd98b3b388453a562bfe0d8
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 31b0159c1d959b88aa97f319f89b5be30383bd1c
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 8362e5bf2db009dbc5cdd6c29212aa5f3479c0d5
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 a0406e0a2e71d64a9db2c0fd49fcd1158a5a9a5d
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 55cd643a94e1bbd25c88ede258f7590993d89965
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 85dc357aa9321d546a7964400aac5c78d9122763
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 d7f2b437354ff29d465043bca0ef6ab6e9ea9485
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 994b7d9731370ab096cc9fb76a0ccfadf5153095
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 f4e8a381925f3beb338093d6be5e490473b2cf7c
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 a90bf3136b54766881d0a8d13bbc87362f57f967
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 0798f9e819fc887521f26c6a99ce37cad83abef4
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 7486a8b77c23694f64d6940a11b19bf78eacb45c
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 8ef210b91f30affb743d857bc79ee1cd56a4fd3b
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 a56d61f223f7150d044246e98bc5b4b8be651ddf
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 b0da1a0e81bce991b22ca0330ee840291c6dc491
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 0fdcc526eb567c885118235107194c94bc9d6d3c
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 6af3703cbe7f45c77a0f6bc5b3eb9e3dfd0941e8
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 4322036264225c6f4d6d7acf43157216bb6a157d
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 c189c87e48c316bf8e90e6943a80b373c394dbc3
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 7de55c8a7b4d159523c57fe98f980057c33f4b48
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 4b02565de992952b7f95b8d48e0e31d2daa97614
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 0da4afa79f5ebff5c34bad88688fac74feea780b
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 172a3ad0db348ea94782b3cb366ed09e2a79f3d9
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 3b1f8a5f822d775b5e8e3244941e20b5b46de6ba
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 ec8ef18386bd9c52be95e99c7e1b683bfb57f9ce
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 7e0a02e77b90e351c553aa7cad1580b24c9a3cca
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