[Ocfs2-tools-commits] branch, tunefs-cleanup, created. ocfs2-tools-1.4.0-134-gf1768a8

svn-commits at oss.oracle.com svn-commits at oss.oracle.com
Thu Jul 17 01:43:46 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  f1768a83d13767095e08468fe91505b0d8b7fb0f (commit)

- Log -----------------------------------------------------------------
commit f1768a83d13767095e08468fe91505b0d8b7fb0f
Author: Joel Becker <joel.becker at oracle.com>
Date:   Thu Jul 17 01:43:30 2008 -0700

    tunefs_main() in ocfs2ne_update_cluster_stack
    
    Signed-off-by: Joel Becker <joel.becker at oracle.com>

commit 3c3aa7c6e36c7797db48c9c56d82a832a83f939d
Author: Joel Becker <joel.becker at oracle.com>
Date:   Thu Jul 17 01:43:30 2008 -0700

    tunefs_main() in ocfs2ne_set_slot_count
    
    Signed-off-by: Joel Becker <joel.becker at oracle.com>

commit 7884f54e87cc812319a96e6bf024e927b3a0d1d9
Author: Joel Becker <joel.becker at oracle.com>
Date:   Thu Jul 17 01:43:30 2008 -0700

    tunefs_main() in ocfs2ne_set_mount_type
    
    Signed-off-by: Joel Becker <joel.becker at oracle.com>

commit 619ddf3fc70ccdb022eff04808e5ed23cb1637f5
Author: Joel Becker <joel.becker at oracle.com>
Date:   Thu Jul 17 01:43:29 2008 -0700

    tunefs_main() in ocfs2ne_set_label
    
    Signed-off-by: Joel Becker <joel.becker at oracle.com>

commit 868b1b116d477e49e8c005e170af12248c9f152d
Author: Joel Becker <joel.becker at oracle.com>
Date:   Thu Jul 17 01:43:29 2008 -0700

    tunefs_main() in ocfs2ne_set_journal_size
    
    Signed-off-by: Joel Becker <joel.becker at oracle.com>

commit 2836072e91ddecbcc146a88084798ca32e7b5934
Author: Joel Becker <joel.becker at oracle.com>
Date:   Thu Jul 17 01:43:29 2008 -0700

    tunefs_main() in ocfs2ne_resize_volume
    
    Signed-off-by: Joel Becker <joel.becker at oracle.com>

commit b9df82bfc7b2bbcf7dc480659ad46ea2acf4ff17
Author: Joel Becker <joel.becker at oracle.com>
Date:   Thu Jul 17 01:43:29 2008 -0700

    tunefs_main() in ocfs2ne_reset_uuid
    
    Signed-off-by: Joel Becker <joel.becker at oracle.com>

commit a2606a794c23092006cef23ccc19c2fd050c21fd
Author: Joel Becker <joel.becker at oracle.com>
Date:   Thu Jul 17 01:43:29 2008 -0700

    tunefs_main() in ocfs2ne_list_sparse_files
    
    Signed-off-by: Joel Becker <joel.becker at oracle.com>

commit 5f0d84dd9edddbd1ff7e3cc9470ba5a88182d9fa
Author: Joel Becker <joel.becker at oracle.com>
Date:   Wed Jul 16 18:51:56 2008 -0700

    properly handle ONLINE for local
    
    Signed-off-by: Joel Becker <joel.becker at oracle.com>

commit 016e4626bc1503b4a264ea9ebe3b56667120256b
Author: Joel Becker <joel.becker at oracle.com>
Date:   Wed Jul 16 18:50:30 2008 -0700

    tunefs.ocfs2: Move operations to tunefs_main()
    
    tunefs_main() can be called from a method as the main() function.  It
    takes a struct tunefs_operation, which provides the callbacks necessary
    to perform that operation.
    
    Signed-off-by: Joel Becker <joel.becker at oracle.com>

commit 301c45e07413dc2442a9d094859943d78ae26040
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 797c27027707449e745ebcef1a913fc94fba6410
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 35ca00e5cd7613e5c9654031729873afd9c7f555
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 385a8f0ece0f334e533a3178ead57e85d983bd18
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 a99355782b8757713e92ec71bd4bbd923d0620f5
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 426b7ba226ec6b9b8c117d0ec3d715aa6e14b226
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 6a53746faee00352fc19ccadf203085ce6e60c8b
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 1434e721c2c2ae945b82ff7137c484deb581fc6e
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 ce65bd07d42c2af88471bb60612bd15ff6e973ae
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 41c3ceecc596ed912c34abbdc1369e8c8e88946c
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 d4c2315fdc102811924a38311906bb49e05a9a66
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 afdbe4934f0ea526e0bf51a2fc33947cd9cd87a9
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 703ac1000128626554d3cd50e02a1d8792b4603c
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 84981466f91faa4a8a14257eaf227b2fd01a3cc1
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 a09baf1c4eaaee01d45c6381be8937e22f204c80
Author: Joel Becker <joel.becker at oracle.com>
Date:   Wed Jul 16 14:53:20 2008 -0700

    tunefs.ocfs2: Make fs non-global
    
    We intend to give each operation its own ocfs2_filesys, so we can't have
    a single global pointer.
    
    Signed-off-by: Joel Becker <joel.becker at oracle.com>

commit f8f35828f32538e3e170deace8b8ab235d899d0a
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 fc8ca2aabfad75f54e26456b01eda8098013388b
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 73d6b30ccc2d5f1d0d0c6d7efa221b6b8137cb43
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 b5aad4070c59b9ec231b22cdc41ae0a0087fc8a2
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 fc5e552ba58034c4b1326afa9d1d4d6d6644b183
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 90f6725983a7fb2033ad5179cf864de7a603d0d1
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 17c6b13cfdae1a3f192727303bd23a9c6602fec5
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 2ebc29306f0c8ca5ca4f1f77aadda982692396d9
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 f63fdf1ea0c9df9ce3992b8494ed5eeae92a6c5c
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 fefb9121ab04f423f311ef9e068d3aced8ca7952
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 98fc595a134bff173119b58b51477b993df063c8
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 1aefa49ad7b1e0f9386a207972f172d7570a304a
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 0ea129fa041b187541b79f7ef6cefb96d4bfcc70
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 4c661078357e9ec4ca739f8b43a7c567186e3d04
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 dd2fe59f8c5607bc9803cc8991c3625af67a4ed3
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 47dd18a5316eb389b51620613a85bd79aa661ecc
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