[Ocfs2-tools-commits] branch, newo2cb-2, created. ocfs2-tools-1.4.0-632-g33b4bf8
svn-commits at oss.oracle.com
svn-commits at oss.oracle.com
Tue Oct 26 12:39:05 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-2 has been created
at 33b4bf8bdb7c478ebc6de5e5579375cce9669af0 (commit)
- Log -----------------------------------------------------------------
commit 33b4bf8bdb7c478ebc6de5e5579375cce9669af0
Author: Sunil Mushran <sunil.mushran at oracle.com>
Date: Mon Oct 18 14:49:24 2010 -0700
o2cb: Add man page
Patch adds a man page for the o2cb(8) utility.
Signed-off-by: Sunil Mushran <sunil.mushran at oracle.com>
commit 452cc4b0687a972ee6869bd1a95ae59d7f7c162d
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 8c683bbd79468fe6d211b8164cdad08cda0831f3
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 31e22a4d9aebe60e5f7730d1d9dcb71a40ea5c51
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 0ee367fc956f4243dc65f8952b1f3a83687259c8
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 c1baea2db13897a7e7e5988aefc77aebf5b607a9
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 8c1e8996e6be9d202f2a46ab4955ac1d6d664087
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 37f650647f1691146b4b0388780ba46a76089af7
Author: Sunil Mushran <sunil.mushran at oracle.com>
Date: Tue Oct 26 12:00:20 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>
Acked-by: Joel Becker <joel.becker at oracle.com>
commit ea1434e532d6e32a2382ae2863e4cd4ad273e5d2
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 26c086244d802038874cb3819992cb28ba88c1cb
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 5dfc04ecedc8f2b9b6b6bc7810a336a0cdb7a1ac
Author: Sunil Mushran <sunil.mushran at oracle.com>
Date: Tue Oct 26 12:00:12 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>
Acked-by: Joel Becker <joel.becker at oracle.com>
commit adacd8f98868a5493faf7c9a073df38fddb1ef47
Author: Sunil Mushran <sunil.mushran at oracle.com>
Date: Tue Oct 19 11:44:31 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 d7aa270d784b4159b11e3873bb8d703b1a52d66d
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 fba6885106e4874e4bd6ca8dae71c0d1555439ec
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 d52b453d3b74e522000a5c72fa62a8e9cdada00f
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 16eef0655728f729e7e788390b4f3a59cb4d8298
Author: Sunil Mushran <sunil.mushran at oracle.com>
Date: Tue Oct 26 12:00:05 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>
Acked-by: Joel Becker <joel.becker at oracle.com>
commit 87a6583c0eb5bdd543c28d83b753930dce47e1f0
Author: Sunil Mushran <sunil.mushran at oracle.com>
Date: Tue Oct 26 11:59:58 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>
Acked-by: Joel Becker <joel.becker at oracle.com>
commit 2c7e7c6747038c1babf99feec512ac9466a562f6
Author: Sunil Mushran <sunil.mushran at oracle.com>
Date: Tue Oct 26 11:59:51 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>
Acked-by: Joel Becker <joel.becker at oracle.com>
commit d8d7a47da4ce6d4414fd3be744e806ee9c2b741f
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 f6ee65aaf1efdbdab3a980aa180a8cf187f46ba5
Author: Sunil Mushran <sunil.mushran at oracle.com>
Date: Tue Oct 26 11:59:44 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>
Acked-by: Joel Becker <joel.becker at oracle.com>
commit 44efa282b1cb90170d4a5c8878653be80bbfa4e5
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 80afd07b2a1877c1f06f1b21bdb59be78643bb22
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 1468de1b14c7af251836a843499b2e623e1dfda6
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 aa840ecbaab5f0d54e1ecb6b0bcaa368ed12e206
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 31b59bf82dcad4aeeb74af0153de538d3e357109
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 ab9d8025660f1bfe4d4f0a79222e85c9e38deec8
Author: Sunil Mushran <sunil.mushran at oracle.com>
Date: Tue Oct 26 11:59:38 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>
Acked-by: Joel Becker <joel.becker at oracle.com>
commit 7868498a29cb0fab2348b06e78776b17008128dc
Author: Sunil Mushran <sunil.mushran at oracle.com>
Date: Tue Oct 26 11:59:28 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>
Acked-by: Joel Becker <joel.becker at oracle.com>
commit 37c7d2cdbc1829b9a92b31a98a5148e7e829e0c1
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 ad6c4bc1d86ca5fda4f246271945a2395ce1ed89
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 be1357266589abfade8636f488af3570de5de084
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 9d62631ccdd64f0d04cdafe0182a304fa9a6c6a5
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 a46829232e05443ff5cb51a68931b94dc4b00ef2
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 9991e5aba58fab1e3a02d179e809013226eb66d6
Author: Sunil Mushran <sunil.mushran at oracle.com>
Date: Tue Oct 26 11:59:14 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>
Acked-by: Joel Becker <joel.becker at oracle.com>
commit 441993a722b461db45513b3c1686ed5074c563b7
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