[Ocfs2-tools-commits] branch, newo2cb, created. ocfs2-tools-1.4.0-625-g83d4e6c

svn-commits at oss.oracle.com svn-commits at oss.oracle.com
Wed Oct 13 13:58:15 PDT 2010


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, newo2cb has been created
        at  83d4e6ce87954c80da7093c3debf275952733825 (commit)

- Log -----------------------------------------------------------------
commit 83d4e6ce87954c80da7093c3debf275952733825
Author: Sunil Mushran <sunil.mushran at oracle.com>
Date:   Thu Aug 19 16:11:18 2010 -0700

    o2cb: Disable check_online during online
    
    This patch allows users to run "service o2cb online" to register changes
    to an already online cluster.
    
    The fix is a hack. This needs to be fixed.
    
    Not-signed-off-by: Sunil Mushran <sunil.mushran at oracle.com>

commit 374d35ca1e0bc2d56f8204d7cf1a8c36fbf5c09d
Author: Sunil Mushran <sunil.mushran at oracle.com>
Date:   Mon Sep 13 12:29:38 2010 -0700

    debugfs.ocfs2: Journal logdump prints full inode and extent blocks
    
    The journal logdump was not printing the extent list, truncate log, etc. in the inode.
    This patch makes it print more information.
    
    Signed-off-by: Sunil Mushran <sunil.mushran at oracle.com>

commit d96cb636bf7edee08d2b89a371d52d44523f2d9e
Author: Sunil Mushran <sunil.mushran at oracle.com>
Date:   Fri Aug 6 16:52:52 2010 -0700

    debugfs.ocfs2: Improve block detection
    
    The journal dump command now detects refcount, dxroot, dxleaf and xattr blocks.
    
    Signed-off-by: Sunil Mushran <sunil.mushran at oracle.com>

commit a458f184dc4c7a9bb6411050157775e39df5206c
Author: Sunil Mushran <sunil.mushran at oracle.com>
Date:   Tue Jul 13 13:17:34 2010 -0700

    mounted.ocfs2: Show cluster and global heartbeat
    
    Tweak output to show the cluster name and global heartbeat (for o2cb only).
    
    Signed-off-by: Sunil Mushran <sunil.mushran at oracle.com>

commit fc7a786b545466fc205c9973633530b1ef620c15
Author: Sunil Mushran <sunil.mushran at oracle.com>
Date:   Sun Jun 27 13:04:02 2010 -0700

    mount.ocfs2: Validate mount path before mount
    
    Check the validity of the mount dir before calling mount(2).
    
    Signed-off-by: Sunil Mushran <sunil.mushran at oracle.com>

commit d00692a37948912ed86824a4c6049a2a8401e638
Author: Sunil Mushran <sunil.mushran at oracle.com>
Date:   Mon Aug 2 17:21:44 2010 -0700

    mount.ocfs2: Add support for o2cb global heartbeat
    
    mount.ocfs2 is now o2cb global heartbeat-aware. It appends heartbeat=global
    when mounting an ocfs2 volume in global heartbeat mode. It relies on the
    o2cb framework to validate the heartbeat mode. It also only changes the io
    priority for o2cb local heartbeat threads.
    
    Signed-off-by: Sunil Mushran <sunil.mushran at oracle.com>

commit 36cf2605a68a519bedd5f4b6e7a5ee9c97fd2215
Author: Sunil Mushran <sunil.mushran at oracle.com>
Date:   Mon Jun 28 11:57:48 2010 -0700

    tools: Detect differing cluster name and heartbeat modes
    
    When tunefs and fsck detect differences between ondisk and active cluster
    stack, they ask the user whether to change the ondisk configuration.
    
    This patch asks the user the same question when the cluster name and
    o2cb heartbeat modes are different.
    
    Signed-off-by: Sunil Mushran <sunil.mushran at oracle.com>
    Signed-off-by: Joel Becker <joel.becker at oracle.com>

commit b4118b949725d03c71e454bf47970c9a5a4f7a78
Author: Sunil Mushran <sunil.mushran at oracle.com>
Date:   Wed Oct 13 13:47:04 2010 -0700

    mkfs.ocfs2: Add -U option to allow custom UUIDs
    
    Patch allows user to pass in a custom UUID.
    
    Signed-off-by: Sunil Mushran <sunil.mushran at oracle.com>

commit 4525ee55e6451d6fda0d5be09a5f98e1b097e9f6
Author: Sunil Mushran <sunil.mushran at oracle.com>
Date:   Tue Oct 12 18:52:38 2010 -0700

    mkfs.ocfs2: Add --global-heartbeat option
    
    In normal course, we expect users to use tunefs.ocfs2 --update-cluster-stack
    to update the disk with the running cluster information. But starting an
    o2cb cluster stack with global heartbeat requires a ocfs2 volume with global
    heartbeat enabled. The mkfs option has been provided for this reason.
    
    Signed-off-by: Sunil Mushran <sunil.mushran at oracle.com>

commit a6623467e0e69cf22a987f5db741bf75286564a5
Author: Sunil Mushran <sunil.mushran at oracle.com>
Date:   Mon Jun 28 11:56:28 2010 -0700

    libo2cb: Validate cluster name and cluster flags in classic_begin_group_join()
    
    In the classic stack with only local heartbeat, classic_begin_group_join() would
    always create a heartbeat region that would implicitly check the validity of the
    cluster name.
    
    In global heartbeat, heartbeat regions are created before hand. Thus the need
    to explicitly check the cluster name.
    
    Also, it ensures the heartbeat mode (encoded in the cluster flags) is also
    the same.
    
    Signed-off-by: Sunil Mushran <sunil.mushran at oracle.com>
    Signed-off-by: Joel Becker <joel.becker at oracle.com>

commit 38038006102408e3acc097b748b9b56549c25355
Author: Sunil Mushran <sunil.mushran at oracle.com>
Date:   Fri Aug 6 14:19:13 2010 -0700

    libocfs2: Add c_flags to struct o2cb_cluster_desc
    
    ocfs2_fill_cluster_desc() and ocfs2_set_cluster_desc() are now aware of
    cluster flags.
    
    Signed-off-by: Sunil Mushran <sunil.mushran at oracle.com>

commit f35823efa0e6149104925aece23621da9c0ff343
Author: Sunil Mushran <sunil.mushran at oracle.com>
Date:   Mon Sep 13 12:18:13 2010 -0700

    tools: Set and clear OCFS2_FEATURE_INCOMPAT_CLUSTERINFO
    
    tunefs sets and clears OCFS2_FEATURE_INCOMPAT_CLUSTERINFO using
    --fs-features=[no]clusterinfo.
    
    tunefs --update-cluster-stack updates the cluster stack info for
    o2cb stack if the above incompat it set.
    
    Signed-off-by: Sunil Mushran <sunil.mushran at oracle.com>

commit 9d4086b573f2c42ffeeb4b2febb288b32dcf2fe2
Author: Sunil Mushran <sunil.mushran at oracle.com>
Date:   Sat Oct 9 10:38:04 2010 -0700

    libocfs2: Add stackflags in superblock
    
    This patch adds stackflags to sb->s_clusterinfo. It also introduces a
    clusterinfo flag OCFS2_CLUSTER_O2CB_GLOBAL_HEARTBEAT to denote the enabled
    global heartbeat mode.
    
    Signed-off-by: Sunil Mushran <sunil.mushran at oracle.com>

commit f8a23b8bf118b9c6210000b91da86919d236e0e4
Author: Sunil Mushran <sunil.mushran at oracle.com>
Date:   Mon Sep 13 12:15:35 2010 -0700

    libocfs2: Add an incompat feature flag OCFS2_FEATURE_INCOMPAT_CLUSTERINFO
    
    OCFS2_FEATURE_INCOMPAT_CLUSTERINFO allows us to use sb->s_cluster_info for
    both userspace and o2cb cluster stacks. It also allows us to extend cluster
    info to include stack flags.
    
    This incompat flag can be set/cleared using tunefs.ocfs2 --fs-features.
    
    Signed-off-by: Sunil Mushran <sunil.mushran at oracle.com>

commit db500ac56f3525b682bec76aa18b4b6394dadaa3
Author: Sunil Mushran <sunil.mushran at oracle.com>
Date:   Sun Jun 27 11:37:21 2010 -0700

    debugfs.ocfs2: Feature flag printing cleanup
    
    Cleaned up double allocations in the feature flag print helpers.
    
    Signed-off-by: Sunil Mushran <sunil.mushran at oracle.com>
    Signed-off-by: Joel Becker <joel.becker at oracle.com>

commit 117ee6f1785128e8d10291402f63a467ffc3c3a6
Author: Sunil Mushran <sunil.mushran at oracle.com>
Date:   Sun Jun 27 11:36:51 2010 -0700

    libocfs2: Cleanup flag name printing in feature_string.c
    
    A lot of code is duplicated in flag name printing. This patch crunches
    up the code without changing the external interface.
    
    Signed-off-by: Sunil Mushran <sunil.mushran at oracle.com>
    Signed-off-by: Joel Becker <joel.becker at oracle.com>

commit e86e3f5b2c0485895fc0a2afad2c9061bfa88a2d
Author: Sunil Mushran <sunil.mushran at oracle.com>
Date:   Fri Aug 6 13:52:21 2010 -0700

    o2cb.init: Make it use the new cluster config tool, o2cb
    
    The init script uses the new o2cb utility (as opposed to o2cb_ctl) to
    online/offline the cluster. It also is now aware of global heartbeat
    and calls {start|stop}-heartbeat as part of online|offline cluster.
    
    Signed-off-by: Sunil Mushran <sunil.mushran at oracle.com>
    Signed-off-by: Joel Becker <joel.becker at oracle.com>

commit def9752b41b1809604491a0b2bd88c86dcf0f8f8
Author: Sunil Mushran <sunil.mushran at oracle.com>
Date:   Fri Jul 23 15:41:53 2010 -0700

    o2cb: Add ops start-heartbeat and stop-heartbeat
    
    Add ops to start and stop global heartbeat.
    
    Signed-off-by: Sunil Mushran <sunil.mushran at oracle.com>

commit 1a09df71c84e20727447cb5889417a76ac56cc88
Author: Sunil Mushran <sunil.mushran at oracle.com>
Date:   Wed Oct 13 13:48:41 2010 -0700

    o2cb: Add ops register-cluster and unregister-cluster
    
    Add ops that (un)register the configured cluster with configfs.
    
    Signed-off-by: Sunil Mushran <sunil.mushran at oracle.com>
    Signed-off-by: Joel Becker <joel.becker at oracle.com>

commit acf6abf6384924340e0872d9b70a0aa571859cea
Author: Sunil Mushran <sunil.mushran at oracle.com>
Date:   Sun Jun 27 11:17:28 2010 -0700

    o2cb: Add ops list-clusters, list-cluster, list-nodes and list-heartbeats
    
    Adds listing operations to list the various entities in the o2cb config file.
    
    Signed-off-by: Sunil Mushran <sunil.mushran at oracle.com>

commit a39e5a0e8aeb8b4f456f969fc8eae2ce64f306fd
Author: Sunil Mushran <sunil.mushran at oracle.com>
Date:   Wed Jun 30 18:14:51 2010 -0700

    o2cb: Add ops add-heartbeat, remove-heartbeat and heartbeat-mode
    
    add-heartbeat, remove-heartbeat and heartbeat-mode manipulate heartbeat info
    in the o2cb config file.
    
    Signed-off-by: Sunil Mushran <sunil.mushran at oracle.com>

commit 6df724880e9c532b4c047f206a522616fa826124
Author: Sunil Mushran <sunil.mushran at oracle.com>
Date:   Wed Oct 13 13:44:17 2010 -0700

    o2cb: Add ops add-node and remove-node
    
    add-node and remove-node manipulate node info in the o2cb config file.
    
    Signed-off-by: Sunil Mushran <sunil.mushran at oracle.com>

commit 5c7901dcdea2eb843c2f02c29853ca98d4306407
Author: Sunil Mushran <sunil.mushran at oracle.com>
Date:   Wed Oct 13 13:52:20 2010 -0700

    o2cb: Add ops add-cluster and remove-cluster
    
    add-cluster and remove-cluster manipulate the cluster info in
    the o2cb config file.
    
    Signed-off-by: Sunil Mushran <sunil.mushran at oracle.com>

commit 15c09d01f3f2b4369d44cfbf47ff8f68933427cc
Author: Sunil Mushran <sunil.mushran at oracle.com>
Date:   Fri Jul 23 15:36:42 2010 -0700

    o2cb: Add a new cluster configuration tool
    
    This patch adds the shell of the new cluster configuration tool, o2cb.
    This tool will allow the user to manipulate the o2cb cluster configuration,
    register/unregister the cluster, start/stop heartbeat, etc. This tool will
    eventually replace the existing configuration tool, o2cb_ctl.
    
    Signed-off-by: Sunil Mushran <sunil.mushran at oracle.com>

commit 287d7e8a1af2764c7028d8bc980e3c70f4d0d4c7
Author: Sunil Mushran <sunil.mushran at oracle.com>
Date:   Fri Jun 25 16:38:28 2010 -0700

    o2cb_scandisk: Scan heartbeat devices
    
    o2cb_scandisk uses the scandisk library to scan all the partitions to locate
    the given heartbeat devices.
    
    Signed-off-by: Sunil Mushran <sunil.mushran at oracle.com>
    Signed-off-by: Joel Becker <joel.becker at oracle.com>

commit 4565c10cfa496bb50acf69f7d84f5503e76f3df7
Author: Sunil Mushran <sunil.mushran at oracle.com>
Date:   Mon Jun 28 16:49:07 2010 -0700

    libtools-internal: Add scandisk functionality to libtools
    
    scandisk, written by Fabio M. Di Nitto <fdinitto at redhat.com> with the help
    of Joel Becker <joel.becker at oracle.com>, is a handy way to scan devices.
    
    This patch extracted scandisk.[ch] from the scan-new branch of the
    oracleasm-support git repo and added it to libtools.
    
    http://oss.oracle.com/git/?p=oracleasm-support.git;a=summary
    
    Signed-off-by: Sunil Mushran <sunil.mushran at oracle.com>
    Signed-off-by: Joel Becker <joel.becker at oracle.com>

commit d78e9b433c11c8dccbe1c7469fab27362e9b6ac2
Author: Sunil Mushran <sunil.mushran at oracle.com>
Date:   Wed Jun 30 14:17:23 2010 -0700

    libo2cb: Extend libo2cb api to learn ip address/port/local of a registered node
    
    Adds three function calls, o2cb_get_node_ip_string(), o2cb_get_node_port()
    and o2cb_get_node_local, to learn the ip address, port. local of the registered
    node.
    
    Signed-off-by: Sunil Mushran <sunil.mushran at oracle.com>

commit 9cfc287462b00bc5892f332280271078ab09eede
Author: Sunil Mushran <sunil.mushran at oracle.com>
Date:   Wed Oct 13 13:50:39 2010 -0700

    libo2cb: Adds support for global heartbeat
    
    Add support for global heartbeat in libo2cb. This patch adds functions
    to start and stop global heartbeat, toggle between global and local heartbeat,
    list active heartbeats, etc. The functionality added does not modify the
    semantics of the local heartbeat mode.
    
    Signed-off-by: Sunil Mushran <sunil.mushran at oracle.com>

commit 393ed75141e7d07dc4454c7e7ca05ad38a1e60d4
Author: Sunil Mushran <sunil.mushran at oracle.com>
Date:   Wed Jun 30 15:50:48 2010 -0700

    libtools: Add string functions to remove leading and trailing whitespaces
    
    Add string functions (tools_strchomp(), tools_strchug() and tools_strstrip())
    in libtools-internal, to remove leading and trailing whitespaces.
    
    Signed-off-by: Sunil Mushran <sunil.mushran at oracle.com>

commit 7373d6c74f0c8a0c30a2959b175d89ec14c0a93d
Author: Sunil Mushran <sunil.mushran at oracle.com>
Date:   Fri Jun 25 14:33:37 2010 -0700

    o2cb_config: Add o2cb_cluster_delete_node()
    
    o2cb_cluster_delete_node() added to allow removal of a node from the config.
    
    Signed-off-by: Sunil Mushran <sunil.mushran at oracle.com>

commit cdba806534ff60fd56bf5a0c45b63b10807f6c47
Author: Sunil Mushran <sunil.mushran at oracle.com>
Date:   Fri Jun 25 14:34:05 2010 -0700

    o2cb_config: Add o2cb_config_remove_cluster()
    
    o2cb_config_remove_cluster() added to allow removal of cluster from the config.
    
    Signed-off-by: Sunil Mushran <sunil.mushran at oracle.com>

commit 047aa028a20aa9587b339c5db21b8cd41443673c
Author: Sunil Mushran <sunil.mushran at oracle.com>
Date:   Fri Jun 25 14:30:51 2010 -0700

    o2cb_config: Fix o2cb_config_free()
    
    o2cb_config_free() now frees the list correctly.
    
    Signed-off-by: Sunil Mushran <sunil.mushran at oracle.com>
    Signed-off-by: Joel Becker <joel.becker at oracle.com>

commit c54cb911afe8994f3dbb422a0dcbffb369881a58
Author: Sunil Mushran <sunil.mushran at oracle.com>
Date:   Fri Jul 23 15:36:31 2010 -0700

    o2cb_config: Add support for the heartbeat stanza
    
    Teach o2cb_config to parse the heartbeat stanza shown below. The cluster
    stanza also has heartbeat_mode that can have values global or local to allow
    the user to easily toggle between global and local heartbeat.
    
    heartbeat:
            region = 908A022988C34A0DB6BC38C43C6B1461
            cluster = mycluster
    
    cluster:
            node_count = 10
            heartbeat_mode = global
            name = mycluster
    
    Signed-off-by: Sunil Mushran <sunil.mushran at oracle.com>

-----------------------------------------------------------------------


hooks/post-receive
-- 
Tools to manage the ocfs2 filesystem.



More information about the Ocfs2-tools-commits mailing list