[Ocfs2-tools-commits] branch, master, updated. ocfs2-tools-1.4.0-696-ge10f3af
svn-commits at oss.oracle.com
svn-commits at oss.oracle.com
Tue Sep 13 14:17:21 PDT 2011
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, master has been updated
via e10f3af9a377a4f14a738a3e81eae5d9adeed6b8 (commit)
via 00d600c60f73ceafb1bf21c4226c8cc6ab652e0e (commit)
via aa37cf30fb00bd39763453325b7e0db4a3600ff7 (commit)
via dd3aa3e49dfaba3f07cfca91279163a972dade79 (commit)
via cf6284281cbd132002f6b104afc1464f6c8b8bac (commit)
via 715b93f64165621ce77949f845f75cc811eb788f (commit)
via 430f4349211ff846a88bfbbeef3a4fe26b9698a2 (commit)
via 3ba3589a569f8f62fd5747bd7f2119b97d648151 (commit)
via 88368d9869b39a568a0ababcc1ad7ea28ae14b1c (commit)
via b329f1130cb496c7aaa0435dfe8376eb4613e634 (commit)
via 342dc7cc1432dc5908abd8014d9ad4874e93b7cf (commit)
via 14906e02015b451451c349f0a62772ca89f018e6 (commit)
via f615b19dd3087feee30ed2bd84ef4659c5d2095c (commit)
via 73a9f05163d1731d70daa6dfaa8d1bbac1ae035c (commit)
via 682b5df52f74bf63c7370509f8cd156a4348b162 (commit)
via 52bdac4b8f06f6a61228d62bb69a425b13a9e4ed (commit)
via b2253984af5ddd7b9a8a01fcde8b44649dc75256 (commit)
via c7988526b7c840eaade3969f44f01ed0b1bc79e3 (commit)
via a8afb0c5d4e7f6394fcaa5f6255386873d577409 (commit)
via 360278140306f32e593bc3b3708b5f8e39e55c26 (commit)
via b2a68138ac92081e1a99492d252d7c86f7ef5c81 (commit)
via 1bceaa23b3feac61ed419030c23fbc1501f26761 (commit)
via 0a674ef3ebc86b762546d22d9dc576d0f0c49879 (commit)
via 14ab4b0df7c577e4f60785e054846855e07dbcce (commit)
via c7e44558c9db60b2509d0aa3dec50863e0b71080 (commit)
via c9ba5d7a376c26b9fbf21e970eaac9ab05bc9fe3 (commit)
from 72602256a621e6454b9c640663779f8416e007e8 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit e10f3af9a377a4f14a738a3e81eae5d9adeed6b8
Author: Sunil Mushran <sunil.mushran at oracle.com>
Date: Tue Sep 13 14:04:43 2011 -0700
ocfs2-tools: Do not distrbute old doc files
README.O2CB, ocfs2_faq.txt and users_guide.txt are out of date. No point
distributing them with the package.
Signed-off-by: Sunil Mushran <sunil.mushran at oracle.com>
Reviewed-by: Joel Becker <jlbec at evilplan.org>
commit 00d600c60f73ceafb1bf21c4226c8cc6ab652e0e
Author: Sunil Mushran <sunil.mushran at oracle.com>
Date: Tue Sep 13 14:04:39 2011 -0700
ocfs2: Add manpage
The ocfs2 user's guide has been converted to a manpage.
Signed-off-by: Sunil Mushran <sunil.mushran at oracle.com>
Reviewed-by: Joel Becker <jlbec at evilplan.org>
commit aa37cf30fb00bd39763453325b7e0db4a3600ff7
Author: Sunil Mushran <sunil.mushran at oracle.com>
Date: Tue Sep 13 14:04:34 2011 -0700
o2cb: Refresh manpage
Signed-off-by: Sunil Mushran <sunil.mushran at oracle.com>
Reviewed-by: Joel Becker <jlbec at evilplan.org>
commit dd3aa3e49dfaba3f07cfca91279163a972dade79
Author: Sunil Mushran <sunil.mushran at oracle.com>
Date: Tue Sep 13 14:04:27 2011 -0700
o2cb: Add manpage for sysconfig/o2cb
Signed-off-by: Sunil Mushran <sunil.mushran at oracle.com>
Reviewed-by: Joel Becker <jlbec at evilplan.org>
commit cf6284281cbd132002f6b104afc1464f6c8b8bac
Author: Sunil Mushran <sunil.mushran at oracle.com>
Date: Tue Sep 13 14:04:23 2011 -0700
o2cb: Add manpage for cluster.conf
Signed-off-by: Sunil Mushran <sunil.mushran at oracle.com>
Reviewed-by: Joel Becker <jlbec at evilplan.org>
commit 715b93f64165621ce77949f845f75cc811eb788f
Author: Sunil Mushran <sunil.mushran at oracle.com>
Date: Tue Sep 13 14:04:15 2011 -0700
o2hbmonitor: Add manpage
Signed-off-by: Sunil Mushran <sunil.mushran at oracle.com>
Reviewed-by: Joel Becker <jlbec at evilplan.org>
commit 430f4349211ff846a88bfbbeef3a4fe26b9698a2
Author: Sunil Mushran <sunil.mushran at oracle.com>
Date: Tue Sep 13 14:04:08 2011 -0700
manpages: Refreshes manpages
Signed-off-by: Sunil Mushran <sunil.mushran at oracle.com>
Reviewed-by: Joel Becker <jlbec at evilplan.org>
commit 3ba3589a569f8f62fd5747bd7f2119b97d648151
Author: Sunil Mushran <sunil.mushran at oracle.com>
Date: Tue Sep 13 14:04:04 2011 -0700
Postamble: Remove (S)BIN_EXTRA in clean
Postamble.make was not removing BIN_EXTRA and SBIN_EXTRA during clean.
Signed-off-by: Sunil Mushran <sunil.mushran at oracle.com>
Reviewed-by: Joel Becker <jlbec at evilplan.org>
commit 88368d9869b39a568a0ababcc1ad7ea28ae14b1c
Author: Sunil Mushran <sunil.mushran at oracle.com>
Date: Tue Sep 13 14:03:51 2011 -0700
o2cbtool: Fix command stop-heartbeat and unregister-cluster
o2cb tool commands stop-hearbeat and unregister-cluster should not validate the
provided cluster name with cluster.conf. These commands should look up the
active cluster (in configfs) and continue if the name matches. That the name
in cluster.conf is different is immaterial because these two operations don't
need the cluster.conf to function.
This also fixes other issues found during testing like infinite loop while
unregistering an unknown cluster and SEGV during cluster-status.
Signed-off-by: Sunil Mushran <sunil.mushran at oracle.com>
Reviewed-by: Joel Becker <jlbec at evilplan.org>
commit b329f1130cb496c7aaa0435dfe8376eb4613e634
Author: Sunil Mushran <sunil.mushran at oracle.com>
Date: Tue Sep 13 14:03:43 2011 -0700
debugfs: Add command net_stats
net_stats pretty prints o2net statistics available at $DEBUGFS/o2net/stats.
------- msg / sec ------- --------------------------- usecs / msg ---------------------------
Node# send q recv q (acquiry xmit wait ) send process
8 1 0 7.747 42.648 219.423 269.818 0.000
32 55362 726 1.157 10.651 151.329 163.137 1.413
34 113452 265762 1.139 9.384 165.553 176.076 1.973
50 969 3812 1.512 7.987 4318.601 4328.099 2.641
Signed-off-by: Sunil Mushran <sunil.mushran at oracle.com>
Reviewed-by: Joel Becker <jlbec at evilplan.org>
commit 342dc7cc1432dc5908abd8014d9ad4874e93b7cf
Author: Sunil Mushran <sunil.mushran at oracle.com>
Date: Tue Sep 13 14:03:36 2011 -0700
debugfs: Fix open_debugfs_file()
Allow open_debugfs_file() to access o2net dentries that do not
have UUID in the path.
Signed-off-by: Sunil Mushran <sunil.mushran at oracle.com>
Reviewed-by: Joel Becker <jlbec at evilplan.org>
commit 14906e02015b451451c349f0a62772ca89f018e6
Author: Sunil Mushran <sunil.mushran at oracle.com>
Date: Tue Sep 13 14:03:32 2011 -0700
libocfs2: Update some error messages
Update the text in few error messages.
Signed-off-by: Sunil Mushran <sunil.mushran at oracle.com>
Reviewed-by: Joel Becker <jlbec at evilplan.org>
commit f615b19dd3087feee30ed2bd84ef4659c5d2095c
Author: Sunil Mushran <sunil.mushran at oracle.com>
Date: Tue Sep 13 14:03:26 2011 -0700
debugfs.ocfs2: Fix output of dxroot
Patch adds a missing tab in the output of dxroot.
Signed-off-by: Sunil Mushran <sunil.mushran at oracle.com>
Reviewed-by: Joel Becker <jlbec at evilplan.org>
commit 73a9f05163d1731d70daa6dfaa8d1bbac1ae035c
Author: Sunil Mushran <sunil.mushran at oracle.com>
Date: Tue Sep 13 14:03:16 2011 -0700
libocfs2: Move metadata block type detect to libocfs2
Function to detect metadata block type moved from debugfs.ocfs2 to libocfs2.
Signed-off-by: Sunil Mushran <sunil.mushran at oracle.com>
Reviewed-by: Joel Becker <jlbec at evilplan.org>
commit 682b5df52f74bf63c7370509f8cd156a4348b162
Author: Sunil Mushran <sunil.mushran at oracle.com>
Date: Tue Sep 13 14:03:09 2011 -0700
extras: Add utility resize_slotmap.c
resize_slotmap is a utility that resizes the //slot_map file. It does not extend
or truncate the file. It only changes the i_size within the set bounds. The upper
limit is the allocated size (1 cluster) and the minimum space is 2040 bytes
(OCFS2_MAX_SLOTS * sizeof(struct ocfs2_extended_slot)).
Signed-off-by: Sunil Mushran <sunil.mushran at oracle.com>
Reviewed-by: Joel Becker <jlbec at evilplan.org>
commit 52bdac4b8f06f6a61228d62bb69a425b13a9e4ed
Author: Sunil Mushran <sunil.mushran at oracle.com>
Date: Tue Sep 13 14:03:04 2011 -0700
debugfs.ocfs2: Condense the print format for the various times
Patch appends nanosecs to the standard time print format.
Earlier output:
ctime: 0x4df91c1b -- Wed Jun 15 13:54:51 2011
atime: 0x4df91c8f -- Wed Jun 15 13:56:47 2011
mtime: 0x4df91c1b -- Wed Jun 15 13:54:51 2011
dtime: 0x0 -- Wed Dec 31 16:00:00 1969
ctime_nsec: 0x299af733 -- 698021683
atime_nsec: 0x2bf1fd9e -- 737279390
mtime_nsec: 0x299af733 -- 698021683
Newer output:
ctime: 0x4df91c1b 0x299af733 -- Wed Jun 15 13:54:51.698021683 2011
atime: 0x4df91c8f 0x2bf1fd9e -- Wed Jun 15 13:56:47.737279390 2011
mtime: 0x4df91c1b 0x299af733 -- Wed Jun 15 13:54:51.698021683 2011
dtime: 0x0 -- Wed Dec 31 16:00:00 1969
Signed-off-by: Sunil Mushran <sunil.mushran at oracle.com>
Reviewed-by: Joel Becker <jlbec at evilplan.org>
commit b2253984af5ddd7b9a8a01fcde8b44649dc75256
Author: Sunil Mushran <sunil.mushran at oracle.com>
Date: Tue Sep 13 14:02:59 2011 -0700
debugfs.ocfs2: Add command stat_sysdir
Patch adds a new command, stat_sysdir, that dumps all the objects in the system
directory. The command eliminates the need of the debug script stat_sysdir.sh
as it dumps the same information.
Signed-off-by: Sunil Mushran <sunil.mushran at oracle.com>
Reviewed-by: Joel Becker <jlbec at evilplan.org>
commit c7988526b7c840eaade3969f44f01ed0b1bc79e3
Author: Sunil Mushran <sunil.mushran at oracle.com>
Date: Tue Sep 13 14:02:54 2011 -0700
debugfs.ocfs2: Cleanup
No real functional change. Only code cleanup.
Removed space between function name and open paren, no longer typedefing structs,
removed studly caps, max 80 chars per line, removed unused #defines, etc.
Also the help print was cleaned up.
Signed-off-by: Sunil Mushran <sunil.mushran at oracle.com>
Reviewed-by: Joel Becker <jlbec at evilplan.org>
commit a8afb0c5d4e7f6394fcaa5f6255386873d577409
Author: Sunil Mushran <sunil.mushran at oracle.com>
Date: Tue Sep 13 14:02:44 2011 -0700
o2cb.init: Start/stop o2hbmonitor
Start o2hbmonitor during o2cb online and stop it during offline.
Signed-off-by: Sunil Mushran <sunil.mushran at oracle.com>
Reviewed-by: Joel Becker <jlbec at evilplan.org>
commit 360278140306f32e593bc3b3708b5f8e39e55c26
Author: Sunil Mushran <sunil.mushran at oracle.com>
Date: Tue Sep 13 14:02:39 2011 -0700
debugfs.ocfs2: fs_locks command understands version 3 locking_state format
The fs_locks command in debugfs.ocfs2 now understands the version 3 format
of the locking_state debugfs file.
Signed-off-by: Sunil Mushran <sunil.mushran at oracle.com>
Reviewed-by: Joel Becker <jlbec at evilplan.org>
commit b2a68138ac92081e1a99492d252d7c86f7ef5c81
Author: Sunil Mushran <sunil.mushran at oracle.com>
Date: Tue Sep 13 14:02:34 2011 -0700
o2cbtool: Silence usage in list-clusters
Do not always show usage when processing list-clusters
Signed-off-by: Sunil Mushran <sunil.mushran at oracle.com>
Reviewed-by: Joel Becker <jlbec at evilplan.org>
commit 1bceaa23b3feac61ed419030c23fbc1501f26761
Author: Sunil Mushran <sunil.mushran at oracle.com>
Date: Tue Sep 13 14:02:30 2011 -0700
mount.ocfs2: Fix bugs related to hard-ro mounts
Patch teaches the libocfs2 call, ocfs2_open(), to detect hard-ro devices.
It also fixes a bug in mount.ocfs2, introduced by commit
52bae5e7a358e927a1e841ead2c6a95cf68c5db1, due to which it stopped appending
the mount option heartbeat=none for hard-ro mounts.
Signed-off-by: Sunil Mushran <sunil.mushran at oracle.com>
Reviewed-by: Joel Becker <jlbec at evilplan.org>
commit 0a674ef3ebc86b762546d22d9dc576d0f0c49879
Author: Sunil Mushran <sunil.mushran at oracle.com>
Date: Tue Sep 13 14:02:25 2011 -0700
mounted.ocfs2: Quick detect mode made more efficient
The quick detect mode was made more efficient by reducing the number of
reads by a factor of 4. Also, it can now detect fs volumes with unknown
incompat bits (in quick detect mode only).
Furthermore, the outputs in both quick and full detect was made more readable.
The earlier and the current outputs have been shown below.
Earlier =>
Device Stack Cluster UUID Label
/dev/sdb1 o2cb mycl10 (G) 23878C320CF3478095D1318CB5C99EED smvol2
/dev/sdc1 o2cb 57AFC71E75364BAAB557C4A107CDECCA vol8
Current =>
Device Stack Cluster F UUID Label
/dev/sdb1 o2cb mycl10 G 23878C320CF3478095D1318CB5C99EED smvol2
/dev/sdc1 o2cb 57AFC71E75364BAAB557C4A107CDECCA vol8
Signed-off-by: Sunil Mushran <sunil.mushran at oracle.com>
Reviewed-by: Joel Becker <jlbec at evilplan.org>
commit 14ab4b0df7c577e4f60785e054846855e07dbcce
Author: Sunil Mushran <sunil.mushran at oracle.com>
Date: Tue Sep 13 14:02:20 2011 -0700
o2cbtool: Disable signals when starting heartbeat
Disable signals while starting/stopping heartbeat and registering/unregistering
the cluster.
Signed-off-by: Sunil Mushran <sunil.mushran at oracle.com>
Reviewed-by: Joel Becker <jlbec at evilplan.org>
commit c7e44558c9db60b2509d0aa3dec50863e0b71080
Author: Sunil Mushran <sunil.mushran at oracle.com>
Date: Tue Sep 13 14:02:14 2011 -0700
o2cb: Add verbose tracing to o2cb register cluster
Add verbose tracing in the register-cluster and unregister-cluster commands
in the o2cb tool.
Signed-off-by: Sunil Mushran <sunil.mushran at oracle.com>
Reviewed-by: Joel Becker <jlbec at evilplan.org>
commit c9ba5d7a376c26b9fbf21e970eaac9ab05bc9fe3
Author: Sunil Mushran <sunil.mushran at oracle.com>
Date: Tue Sep 13 14:01:58 2011 -0700
o2cb: Handle failure to register heartbeat mode
Kernels older than 2.6.37 do not support heartbeat mode. The o2cb tool should
ignore errors when failing to register local heartbeat in older kernels.
Signed-off-by: Sunil Mushran <sunil.mushran at oracle.com>
Reviewed-by: Joel Becker <jlbec at evilplan.org>
-----------------------------------------------------------------------
Summary of changes:
Makefile | 3 -
Postamble.make | 2 +-
configure.in | 4 +
debian/ocfs2-tools.docs | 3 -
debian/ocfs2-tools.manpages | 4 +
debugfs.ocfs2/Makefile | 11 +-
debugfs.ocfs2/commands.c | 799 +++++------
debugfs.ocfs2/debugfs.ocfs2.8.in | 30 +-
debugfs.ocfs2/dump.c | 270 ++--
debugfs.ocfs2/dump_fs_locks.c | 35 +-
debugfs.ocfs2/dump_net_stats.c | 236 ++++
debugfs.ocfs2/find_block_inode.c | 2 +-
debugfs.ocfs2/find_inode_paths.c | 8 +-
debugfs.ocfs2/include/dump.h | 18 +-
.../{find_block_inode.h => dump_net_stats.h} | 23 +-
debugfs.ocfs2/include/main.h | 83 +-
.../include/stat_sysdir.h | 16 +-
debugfs.ocfs2/include/utils.h | 11 +-
debugfs.ocfs2/journal.c | 8 +-
debugfs.ocfs2/main.c | 66 +-
debugfs.ocfs2/stat_sysdir.c | 148 ++
debugfs.ocfs2/utils.c | 201 ++--
documentation/samples/cluster.conf | 41 +-
extras/.gitignore | 1 +
extras/Makefile | 10 +-
extras/resize_slotmap.c | 185 +++
fsck.ocfs2/fsck.ocfs2.8.in | 15 +-
fsck.ocfs2/fsck.ocfs2.checks.8.in | 11 +-
include/ocfs2/ocfs2.h | 19 +-
libo2cb/o2cb.7.in | 352 ++++--
libo2cb/o2cb_abi.c | 6 +
libocfs2/.gitignore | 1 +
libocfs2/Makefile | 5 +-
libocfs2/blocktype.c | 84 ++
libocfs2/ocfs2.7.in | 1446 ++++++++++++++++++++
libocfs2/ocfs2_err.et | 6 +-
libocfs2/openfs.c | 10 +
libocfs2/unix_io.c | 13 +
mkfs.ocfs2/mkfs.ocfs2.8.in | 159 ++--
mount.ocfs2/mount.ocfs2.8.in | 172 ++-
mount.ocfs2/mount.ocfs2.c | 40 +-
mounted.ocfs2/Makefile | 7 +-
mounted.ocfs2/mounted.c | 287 +++-
mounted.ocfs2/mounted.ocfs2.8.in | 73 +-
o2cb_ctl/.gitignore | 1 +
o2cb_ctl/Makefile | 4 +-
o2cb_ctl/o2cb.8.in | 48 +-
o2cb_ctl/o2cb_ctl.8.in | 1 -
o2cb_ctl/o2cbtool.c | 11 +
o2cb_ctl/o2cbtool.h | 2 +
o2cb_ctl/ocfs2.cluster.conf.5.in | 141 ++
o2cb_ctl/op_lists.c | 2 +
o2cb_ctl/op_register.c | 51 +-
o2cb_ctl/op_start.c | 70 +-
o2cb_ctl/op_status.c | 2 +-
o2image/o2image.8.in | 45 +-
o2info/o2info.1.in | 146 +-
o2monitor/.gitignore | 1 +
o2monitor/Makefile | 4 +-
o2monitor/o2hbmonitor.8.in | 48 +
ocfs2_hb_ctl/ocfs2_hb_ctl.8.in | 25 +-
tunefs.ocfs2/tunefs.ocfs2.8.in | 42 +-
vendor/common/.gitignore | 1 +
vendor/common/Makefile | 5 +-
vendor/common/o2cb.init.sh | 4 +
vendor/common/o2cb.sysconfig.5.in | 135 ++
vendor/common/ocfs2-tools.spec-generic.in | 7 +-
67 files changed, 4308 insertions(+), 1412 deletions(-)
create mode 100644 debugfs.ocfs2/dump_net_stats.c
copy debugfs.ocfs2/include/{find_block_inode.h => dump_net_stats.h} (65%)
copy fswreck/include/special.h => debugfs.ocfs2/include/stat_sysdir.h (78%)
create mode 100644 debugfs.ocfs2/stat_sysdir.c
create mode 100644 extras/resize_slotmap.c
create mode 100644 libocfs2/blocktype.c
create mode 100644 libocfs2/ocfs2.7.in
create mode 100644 o2cb_ctl/ocfs2.cluster.conf.5.in
create mode 100644 o2monitor/o2hbmonitor.8.in
create mode 100644 vendor/common/o2cb.sysconfig.5.in
hooks/post-receive
--
Tools to manage the ocfs2 filesystem.
More information about the Ocfs2-tools-commits
mailing list