[Ocfs2-tools-commits] branch, for-review-20110722, created. ocfs2-tools-1.4.0-689-g51f4f8a
svn-commits at oss.oracle.com
svn-commits at oss.oracle.com
Fri Jul 22 14:36:07 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, for-review-20110722 has been created
at 51f4f8a04f08e0469a68bab9523e19280859285f (commit)
- Log -----------------------------------------------------------------
commit 51f4f8a04f08e0469a68bab9523e19280859285f
Author: Mark Fasheh <mfasheh at suse.com>
Date: Fri Jul 22 12:43:58 2011 -0700
debugfs.ocfs2: Add command grpextents
grpextents prints a list of free extents in the group descriptor provided as
an argument. Like the "group" command, grpextents will follow chain pointers
(and print for each group) to the end of a chain. A few other useful
statistics are printed (number of extents found, average extent size,
largest extent).
Group# 14602240 Total: 15872 Used: 7181 Free: 8691
### Start Length ### Start Length ### Start Length
1 6145 1349 2 7495 389 3 7885 364
4 8250 380 5 8631 372 6 9004 389
7 9394 372 8 9767 357 9 10125 366
10 10492 1013 11 12529 55 12 12585 373
13 12959 380 14 13340 2532
Free Extent Count: 14 Longest: 2532 Average: 620
Signed-off-by: Mark Fasheh <mfasheh at suse.com>
Signed-off-by: Sunil Mushran <sunil.mushran at oracle.com>
commit 2dd0d061f60dc43543fa3f59b9ab16694a35e67d
Author: Sunil Mushran <sunil.mushran at oracle.com>
Date: Fri Jul 22 12:43:40 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>
commit 3c7a00ed77e6a9d16ffedb649e497aed52a41599
Author: Sunil Mushran <sunil.mushran at oracle.com>
Date: Thu Jul 21 16:23:25 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>
commit 296c5a3eb87d7c974605fb2b8348cea5663b7dda
Author: Sunil Mushran <sunil.mushran at oracle.com>
Date: Thu Jul 21 16:23:25 2011 -0700
libocfs2: Update some error messages
Update the text in few error messages.
Signed-off-by: Sunil Mushran <sunil.mushran at oracle.com>
commit ea1b2470e10e1eb217dd5bdef8e1b4e777483713
Author: Sunil Mushran <sunil.mushran at oracle.com>
Date: Thu Jul 21 16:23:24 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>
commit d91381e016f9b2f5b753a1f48a4f54d4e794a1dc
Author: Sunil Mushran <sunil.mushran at oracle.com>
Date: Thu Jul 21 16:23:24 2011 -0700
libocfs2: Added generic block swap functions
Added functions ocfs2_swap_block_from_cpu() and ocfs2_swap_block_to_cpu()
that detect the ocfs2 block type and call the appropriate swap functions.
Signed-off-by: Sunil Mushran <sunil.mushran at oracle.com>
commit cce178dafa444670135c6ca728bc61d6ef5ff18e
Author: Sunil Mushran <sunil.mushran at oracle.com>
Date: Thu Jul 21 16:23:23 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>
commit 59a26bb833a22d16b7c23f768adcf46ab0797ffb
Author: Sunil Mushran <sunil.mushran at oracle.com>
Date: Thu Jul 21 16:23:23 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>
commit 0f2da92a2b3d175bb79d10978d23e58ea2e6b314
Author: Sunil Mushran <sunil.mushran at oracle.com>
Date: Thu Jul 21 16:23:22 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>
commit c3d0a6ab3382cdf3c5c8a91b37ac059a47e92f25
Author: Sunil Mushran <sunil.mushran at oracle.com>
Date: Thu Jul 21 16:23:01 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>
commit 0e727583a985aa7d7eab25e07127f0df009af488
Author: Sunil Mushran <sunil.mushran at oracle.com>
Date: Thu Jul 21 16:11:18 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>
commit c0ea0f2f24ce7e9e971843b8153b39ac66ad316d
Author: Sunil Mushran <sunil.mushran at oracle.com>
Date: Thu Jul 21 15:02:34 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>
commit 1b57852ba1ea253e99ec526970f630f919e03dc0
Author: Sunil Mushran <sunil.mushran at oracle.com>
Date: Thu Jul 21 15:02:29 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>
commit 2a07fe2d1fa32f7cb96242762442be6f17183f41
Author: Sunil Mushran <sunil.mushran at oracle.com>
Date: Thu Jul 21 15:02:24 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>
commit 39f62e6f9bfbe26c3d86964410f3603f1d60c455
Author: Sunil Mushran <sunil.mushran at oracle.com>
Date: Thu Jul 21 15:02:19 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>
commit 40a0ad02fb4687600a1a22803ee87b9a33194624
Author: Sunil Mushran <sunil.mushran at oracle.com>
Date: Thu Jul 21 15:02:14 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>
commit c9e541b4e4ddc14a3206ea25cc0169eff063b62d
Author: Sunil Mushran <sunil.mushran at oracle.com>
Date: Thu Jul 21 15:02:09 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>
commit 4800157ef7323488002b9316b11c48e64dffceec
Author: Sunil Mushran <sunil.mushran at oracle.com>
Date: Thu Jul 21 15:02:03 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>
commit 1ca1bc31eca8ec60dd11509f303ce18eb36f612f
Author: Sunil Mushran <sunil.mushran at oracle.com>
Date: Thu Jul 21 15: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>
-----------------------------------------------------------------------
hooks/post-receive
--
Tools to manage the ocfs2 filesystem.
More information about the Ocfs2-tools-commits
mailing list