[Ocfs2-tools-commits] branch, master, updated. ocfs2-tools-1.4.0-756-g22c69b9
svn-commits at oss.oracle.com
svn-commits at oss.oracle.com
Thu Feb 23 09:17:25 PST 2012
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 22c69b9d881127cb2c70bd07ebfd2760aec42ee8 (commit)
via 0d41ad48636b777bbae788555ef91d14615f61a0 (commit)
via 3146923e89f68a119a54ed8fc5685ed3ff40ef3e (commit)
via 1d88aacb229f2f3f8dcb889d5c7d5031b299b97a (commit)
via dd963debe936a6594e25018294bbe22893d3c00c (commit)
via 2767f7b29838c73ac16c289b75983f86fb8eee4d (commit)
via 92b27da76a7299a6adcf83dc0d1de9312e4a79c0 (commit)
via b8ab32b1884cccaec83c245a3434a21c8e73685e (commit)
via 0ca656a3f4a2a599d6ffbfe4b2db83eac9f5964a (commit)
via 15f01d8d8c1c1ad1c8462d9dabb2ca1e4d11c86e (commit)
from dc416fa1cb0d09846756cbd5a88de1e60fb3e4d7 (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 22c69b9d881127cb2c70bd07ebfd2760aec42ee8
Author: Sunil Mushran <sunil.mushran at oracle.com>
Date: Tue Feb 21 15:21:35 2012 -0800
sizetest: Stop building sizetest and listuuid
sizetest has out-lived its usefulness. My plan is to add a script that
uses pahole to check the alignment/sizes of the on-disk structures.
mounted.ocfs2 replaced listuuid a long time ago.
Signed-off-by: Sunil Mushran <sunil.mushran at oracle.com>
commit 0d41ad48636b777bbae788555ef91d14615f61a0
Author: Sunil Mushran <sunil.mushran at oracle.com>
Date: Tue Feb 21 15:05:12 2012 -0800
fsck.ocfs2: Silence build errors on x86_64
Silence the following build errors on x86_64.
extent.c: In function âo2fsck_check_extent_recâ:
extent.c:406: warning: format â%luâ expects type âlong unsigned intâ, but argument 6 has type â__u64â
pass1b.c: In function âprocess_dup_clustersâ:
pass1b.c:387: warning: format â%luâ expects type âlong unsigned intâ, but argument 5 has type â__u64â
pass1b.c:392: warning: format â%luâ expects type âlong unsigned intâ, but argument 5 has type â__u64â
pass1b.c:401: warning: format â%luâ expects type âlong unsigned intâ, but argument 5 has type â__u64â
pass1b.c: In function âprocess_xattr_headerâ:
pass1b.c:506: warning: format â%luâ expects type âlong unsigned intâ, but argument 4 has type â__u64â
pass1b.c: In function âprocess_one_bucket_listâ:
pass1b.c:546: warning: format â%luâ expects type âlong unsigned intâ, but argument 5 has type â__u64â
pass1b.c: In function âprocess_xattr_treeâ:
pass1b.c:608: warning: format â%luâ expects type âlong unsigned intâ, but argument 4 has type â__u64â
pass1b.c: In function âprocess_xattr_blockâ:
pass1b.c:627: warning: format â%luâ expects type âlong unsigned intâ, but argument 4 has type â__u64â
pass2.c: In function âfix_dir_trailerâ:
pass2.c:239: warning: format â%luâ expects type âlong unsigned intâ, but argument 8 has type â__u64â
pass2.c:250: warning: format â%luâ expects type âlong unsigned intâ, but argument 8 has type â__u64â
pass5.c: In function âo2fsck_check_data_blkâ:
pass5.c:243: warning: format â%luâ expects type âlong unsigned intâ, but argument 7 has type â__u64â
pass5.c:243: warning: format â%luâ expects type âlong unsigned intâ, but argument 8 has type â__u64â
pass5.c:243: warning: format â%luâ expects type âlong unsigned intâ, but argument 9 has type â__u64â
pass5.c:243: warning: format â%luâ expects type âlong unsigned intâ, but argument 10 has type â__u64â
pass5.c:243: warning: format â%luâ expects type âlong unsigned intâ, but argument 11 has type â__u64â
pass5.c:243: warning: format â%luâ expects type âlong unsigned intâ, but argument 12 has type â__u64â
pass5.c:243: warning: format â%luâ expects type âlong unsigned intâ, but argument 13 has type â__u64â
pass5.c:243: warning: format â%luâ expects type âlong unsigned intâ, but argument 14 has type â__u64â
pass5.c:261: warning: format â%luâ expects type âlong unsigned intâ, but argument 7 has type â__u64â
pass5.c:261: warning: format â%luâ expects type âlong unsigned intâ, but argument 8 has type â__u64â
pass5.c:261: warning: format â%luâ expects type âlong unsigned intâ, but argument 9 has type â__u64â
pass5.c:261: warning: format â%luâ expects type âlong unsigned intâ, but argument 10 has type â__u64â
pass5.c:261: warning: format â%luâ expects type âlong unsigned intâ, but argument 11 has type â__u64â
pass5.c:261: warning: format â%luâ expects type âlong unsigned intâ, but argument 12 has type â__u64â
pass5.c:261: warning: format â%luâ expects type âlong unsigned intâ, but argument 13 has type â__u64â
pass5.c:261: warning: format â%luâ expects type âlong unsigned intâ, but argument 14 has type â__u64â
pass5.c:280: warning: format â%luâ expects type âlong unsigned intâ, but argument 7 has type â__u64â
pass5.c:280: warning: format â%luâ expects type âlong unsigned intâ, but argument 8 has type â__u64â
pass5.c:280: warning: format â%luâ expects type âlong unsigned intâ, but argument 9 has type â__u64â
pass5.c:280: warning: format â%luâ expects type âlong unsigned intâ, but argument 10 has type â__u64â
util.c: In function âo2fsck_print_resource_trackâ:
util.c:325: warning: format â%uâ expects type âunsigned intâ, but argument 2 has type âsize_tâ
util.c:330: warning: format â%lluâ expects type âlong long unsigned intâ, but argument 2 has type âuint64_tâ
util.c:330: warning: format â%lluâ expects type âlong long unsigned intâ, but argument 3 has type âuint64_tâ
util.c:330: warning: format â%lluâ expects type âlong long unsigned intâ, but argument 4 has type âuint64_tâ
xattr.c: In function âcheck_xattr_entryâ:
xattr.c:287: warning: format â%luâ expects type âlong unsigned intâ, but argument 8 has type â__u64â
Signed-off-by: Sunil Mushran <sunil.mushran at oracle.com>
commit 3146923e89f68a119a54ed8fc5685ed3ff40ef3e
Author: Sunil Mushran <sunil.mushran at oracle.com>
Date: Tue Feb 21 14:36:37 2012 -0800
tunefs.ocfs2: Speed up global bitmap verification during resize
During resize, tunefs.ocfs2 validates the global bitmap that includes
reading all the group descriptors. This could be slow on very large
volumes. This patch makes use of ocfs2_cache_chain_allocator_blocks()
to make this operation more efficient.
Signed-off-by: Sunil Mushran <sunil.mushran at oracle.com>
commit 1d88aacb229f2f3f8dcb889d5c7d5031b299b97a
Author: Sunil Mushran <sunil.mushran at oracle.com>
Date: Tue Feb 21 13:47:56 2012 -0800
debugfs.ocfs2: Silence build errors on x86_64
Silence the following build errors on x86_64.
commands.c: In function âdirblocks_proxyâ:
commands.c:1261: warning: format â%luâ expects type âlong unsigned intâ, but argument 5 has type â__u64â
commands.c: In function âwalk_refcount_blockâ:
commands.c:2079: warning: format â%luâ expects type âlong unsigned intâ, but argument 4 has type â__u64â
commands.c:2096: warning: format â%luâ expects type âlong unsigned intâ, but argument 4 has type â__u64â
dump.c: In function âdump_inodeâ:
dump.c:382: warning: format â%luâ expects type âlong unsigned intâ, but argument 3 has type â__u64â
dump.c: In function âdump_extent_blockâ:
dump.c:505: warning: format â%luâ expects type âlong unsigned intâ, but argument 3 has type â__u64â
dump.c: In function âdump_dir_trailerâ:
dump.c:596: warning: format â%-15luâ expects type âlong unsigned intâ, but argument 3 has type â__u64â
dump.c:596: warning: format â%-15luâ expects type âlong unsigned intâ, but argument 4 has type â__u64â
dump.c:599: warning: format â%-15luâ expects type âlong unsigned intâ, but argument 4 has type â__u64â
dump.c: In function âdump_dx_rootâ:
dump.c:694: warning: format â%luâ expects type âlong unsigned intâ, but argument 3 has type â__u64â
dump.c: In function âdump_refcount_blockâ:
dump.c:1362: warning: format â%luâ expects type âlong unsigned intâ, but argument 3 has type â__u64â
dump.c: In function âdump_refcount_recordsâ:
dump.c:1399: warning: format â%-20luâ expects type âlong unsigned intâ, but argument 4 has type â__u64â
stat_sysdir.c: In function âshow_system_inodeâ:
stat_sysdir.c:76: warning: format â%luâ expects type âlong unsigned intâ, but argument 4 has type â__u64â
stat_sysdir.c:89: warning: format â%luâ expects type âlong unsigned intâ, but argument 4 has type â__u64â
Signed-off-by: Sunil Mushran <sunil.mushran at oracle.com>
commit dd963debe936a6594e25018294bbe22893d3c00c
Author: Sunil Mushran <sunil.mushran at oracle.com>
Date: Tue Feb 21 13:10:14 2012 -0800
debugfs.ocfs2: Show journal superblock features
The journal superblock features are now printed in the same format
as the file system superblock.
Signed-off-by: Sunil Mushran <sunil.mushran at oracle.com>
commit 2767f7b29838c73ac16c289b75983f86fb8eee4d
Author: Goldwyn Rodrigues <rgoldwyn at gmail.com>
Date: Tue Feb 21 11:06:16 2012 -0800
tunefs.ocfs2: Deny block32 for device size in blocks > UINT32_MAX
Signed-off-by: Michal Srb <msrb at suse.com>
Signed-off-by: Goldwyn Rodrigues <rgoldwyn at suse.de>
Signed-off-by: Sunil Mushran <sunil.mushran at oracle.com>
commit 92b27da76a7299a6adcf83dc0d1de9312e4a79c0
Author: Goldwyn Rodrigues <rgoldwyn at gmail.com>
Date: Tue Feb 21 11:06:05 2012 -0800
tunefs.ocfs2: Add [no]block32,[no]block64 in journal options
Signed-off-by: Michal Srb <msrb at suse.com>
Signed-off-by: Goldwyn Rodrigues <rgoldwyn at suse.de>
Signed-off-by: Sunil Mushran <sunil.mushran at oracle.com>
commit b8ab32b1884cccaec83c245a3434a21c8e73685e
Author: Goldwyn Rodrigues <rgoldwyn at gmail.com>
Date: Tue Feb 21 11:05:55 2012 -0800
tunefs.ocfs2: Check for block64 before resizing > 16TB
Signed-off-by: Goldwyn Rodrigues <rgoldwyn at suse.de>
Signed-off-by: Michal Srb <msrb at suse.com>
Signed-off-by: Sunil Mushran <sunil.mushran at oracle.com>
commit 0ca656a3f4a2a599d6ffbfe4b2db83eac9f5964a
Author: Goldwyn Rodrigues <rgoldwyn at gmail.com>
Date: Tue Feb 21 11:05:49 2012 -0800
tunefs.ocfs2: Fix resize check block_count > UINT32_MAX
The code to check resize while crossing 16TB boundaries is
already present. However, there is a bug in bit manipulation
which allowed the check to pass.
However, this needs addition checks for block64 journal options.
Signed-off-by: Goldwyn Rodrigues <rgoldwyn at suse.de>
Signed-off-by: Michal Srb <msrb at suse.com>
Signed-off-by: Sunil Mushran <sunil.mushran at oracle.com>
commit 15f01d8d8c1c1ad1c8462d9dabb2ca1e4d11c86e
Author: Goldwyn Rodrigues <rgoldwyn at gmail.com>
Date: Tue Feb 21 11:05:22 2012 -0800
tunefs.ocfs2: Warn if not using complete device
Sample test case (for a device greater than 16TB):
1. Format a device with blocksize 4k and block count < 16TB
2. resize device (-S)
Results: Device is formatted to 16TB even if the device is bigger.
The patch fails the tunefs.ocfs2 attempt and ask user to explicitly state
block-count to not use the complete device.
Signed-off-by: Goldwyn Rodrigues <rgoldwyn at suse.de>
Signed-off-by: Michal Srb <msrb at suse.com>
Signed-off-by: Sunil Mushran <sunil.mushran at oracle.com>
-----------------------------------------------------------------------
Summary of changes:
Makefile | 2 +-
debugfs.ocfs2/commands.c | 8 +-
debugfs.ocfs2/dump.c | 37 +++++++----
debugfs.ocfs2/include/utils.h | 3 +
debugfs.ocfs2/stat_sysdir.c | 4 +-
debugfs.ocfs2/utils.c | 46 +++++++++++++
fsck.ocfs2/extent.c | 4 +-
fsck.ocfs2/pass1b.c | 14 ++--
fsck.ocfs2/pass2.c | 4 +-
fsck.ocfs2/pass5.c | 40 ++++++------
fsck.ocfs2/util.c | 7 +-
fsck.ocfs2/xattr.c | 2 +-
tunefs.ocfs2/Makefile | 1 +
tunefs.ocfs2/libocfs2ne.c | 41 +++++++++++-
tunefs.ocfs2/libocfs2ne.h | 5 +-
tunefs.ocfs2/ocfs2ne.c | 30 +++++++++
tunefs.ocfs2/op_resize_volume.c | 31 +++++++---
tunefs.ocfs2/op_set_journal_block.c | 119 +++++++++++++++++++++++++++++++++++
tunefs.ocfs2/op_set_journal_size.c | 6 +-
tunefs.ocfs2/op_set_slot_count.c | 5 +-
20 files changed, 337 insertions(+), 72 deletions(-)
create mode 100644 tunefs.ocfs2/op_set_journal_block.c
hooks/post-receive
--
Tools to manage the ocfs2 filesystem.
More information about the Ocfs2-tools-commits
mailing list