[Ocfs2-tools-commits] branch, tunefs-cleanup, created. ocfs2-tools-1.4.0-128-ge53a96f

svn-commits at oss.oracle.com svn-commits at oss.oracle.com
Mon Jul 21 18:25:50 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  e53a96fc6d9bc2fac40803b1588ec86aa1810a18 (commit)

- Log -----------------------------------------------------------------
commit e53a96fc6d9bc2fac40803b1588ec86aa1810a18
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 4f09eb2bbf48bbc12b928237189672c66dccf3af
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 e91955c4c82375bc35a399037ee078707a5dd46d
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 38c661ea84ca1bc47a7536ea3e1b32a21d1c8e74
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 9c28b8bd309e094d3a1caa8a0013947e8ff761c4
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 6aa1f4c91fb44b8a3b7786dc290da082364bf860
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 502bcb5089f3ed3e7c3d2d9ac98e12349573997c
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 45c498544b3719086eafc08bb92b4ee622d4064f
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 86ac6aefd20c52cd1b44d24c52ef9aa2e68e0c31
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 42a0a83b5146060908e6038ead7a697ac06cc777
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 5ce02df00c78d4454d90b117eb3d2ce626d80e9b
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 f272a7516636e0e483fa6dff4120978520477358
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 6f4633aa3c5dbe3baa5267335da775f44ca25d9f
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 5e450a3e9283342d832b2d60fee3fd28f4b4aefd
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 6c03d4a8af964b431ee7fcc3a16c4c516544439b
Author: Joel Becker <joel.becker at oracle.com>
Date:   Wed Jul 16 18:50:30 2008 -0700

    tunefs.ocfs2: Create tunefs_main() and tunefs_feature_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.
    
    tunefs_feature main() can be called from a feature method as the main()
    function.  It takes a struct tunefs_feature, which provides the callbacks
    necessary to enable and disable a feature.
    
    Signed-off-by: Joel Becker <joel.becker at oracle.com>

commit 94d9b8521acc5b620b26d0c43f1b4dda1076da9b
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 aca4ee194b7d12005ff4fbec72524976d0d362e9
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 ac550d32af5120c73c7cd8e7bfbbea5c959c1b8c
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 ce0e53302e7549d0280ce0537c16144cd447b794
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 1cd3f846ba6f85ef2a854188146d6a74d0dc5c9c
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 e35d23f8819c3338fdab76cb439be95037709e55
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 516641412aa246e1102e11d87ee8758b2abfbacf
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 2713a683122aec7f312ff20ec4bf242a135034c9
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 890f938850be439162a3fbebebdb539ad2c454d4
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 25348eff43c4a78ab7b1b441dfb66e79444364e3
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 4416e35231076f15695e88226fdfa08c01c71f73
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 4a726ac1262d756bcd78b60367a58f5215d2514f
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 6995a13a14e150730ed1d9665248233479a00822
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 7f7343f5c19a3912ff83d1c144d70dbda1d6f1dc
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 dc594e15128ba570638fd2b89f495910c9339ba5
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 764025152c2e1586749a9504ba1fd57f230bf63b
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 5842bfac00b93e996b719054a2a71536902b61f8
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>

commit f84d2da6e37e5dca33e70fa657aec1a77df150f8
Author: Joel Becker <joel.becker at oracle.com>
Date:   Mon Jul 21 16:23:07 2008 -0700

    libocfs2: Clearing features should clear their dependancies.
    
    The ocfs2_parse_feature() API was not symmetric.  If asked to set a
    feature, it would set the feature and its dependencies.  However, when
    asked to clear a feature, it would not clear the other features that
    depended on it.  Thus, a caller looking at the list of features to clear
    would have to know the reverse dependencies as well.
    
    This change modifies ocfs2_parse_feature() to include the reverse
    dependencies.  In addition, ocfs2_merge_feature_with_level() takes
    advantage of the change to become simpler.
    
    Finally, tunefs.ocfs2 now expects the reverse dependencies.  Instead of
    adding them by hand, it makes sure they exist and behaves appropriately.
    
    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