[Ocfs2-tools-commits] branch, master, updated. ocfs2-tools-1.4.0-796-g65fac00
svn-commits at oss.oracle.com
svn-commits at oss.oracle.com
Mon Dec 15 21:16:46 PST 2014
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 65fac00924ecebc9922ea6b918b9428d1dba190e (commit)
via de571440d23fec1f0ccc42d6163d03298a755190 (commit)
via 92211c3466f26b66ef137aefabd776247447325a (commit)
via 763d3c8d0ecf80e3d2e3ce192b273406099a04dd (commit)
via 6b689d45289d4804647cbe51e5cb65c88131f3f7 (commit)
via eb34f7f92f1bc714b5d19eb3aeb1c65d667b5db0 (commit)
via a56b83a51f69197a3eedfb628c11ffb630019335 (commit)
via 5e32287908c78d532c38ca9c83d15ac353b8a366 (commit)
via 0daba6eada5094e475adeb5ace923d3eadf7f42b (commit)
via 5c6dac8644e592fda4d53fa0e45602c3eb2a1783 (commit)
via 24b96901c589cb39bbb515697bbf7721c7ddb418 (commit)
via 5215a7965f4e9c6540afd4798fafaf77061e75b8 (commit)
via 4082797b6f996f2245b279d22b24c453d53b9d8c (commit)
via efca4b0f2241de0fe9ae5f7ee673e6bcd99cda9f (commit)
via edb08a4c27668b163cfd2f8b6b6b21383838deca (commit)
via 87f9ea6a6af44949ec5eda1ce7e49190f2f49d8d (commit)
via 35197549319ce5303d794d26058c66d7ced14564 (commit)
via b10108fac6af4d52944bd6cb6eddc366ec0c838d (commit)
via 11cb9b73012793cc9546e2b9dfe6c8b76d483d11 (commit)
via 7ba09a2470ff4974a429bcadd402c26633b03539 (commit)
via 71a34e3a5aed6bf939452649b76dc5568b927a37 (commit)
via 04eb10789d0459dc1f578647d4186833a4149797 (commit)
via c6d8555b9dfc87c98f01aef3c0487b98a45de2ba (commit)
via 8c3ac4bae636b9a4112ac2b4d0d0670bf320bec8 (commit)
via e7ccf9d595e885fc0a11fc9086e9c6b8169e9f45 (commit)
via 4d7cde1634b610d10b2db1a3f01aea3ac1e702ac (commit)
via 38fa4116df24cb90ff037d3d09f5390d9ddcaa0e (commit)
from ff84eb5b6e76427f227632d5604703b8584d1b7f (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 65fac00924ecebc9922ea6b918b9428d1dba190e
Author: Srinivas Eeda <srinivas.eeda at oracle.com>
Date: Mon Dec 15 20:40:44 2014 -0800
tools: Up version to 1.8.3
Signed-off-by: Srinivas Eeda <srinivas.eeda at oracle.com>
commit de571440d23fec1f0ccc42d6163d03298a755190
Author: Srinivas Eeda <srinivas.eeda at oracle.com>
Date: Tue Mar 18 06:58:02 2014 -0700
ocfs2/mount: mount command should convert mapper dm devname to canonical form
The kernel commit 784aae735d9b0bba3f8b9faef4c8b30df3bf0128 required a patch
in the mount command to convert mapper device name of the form dm-<digit> to
canonical. For example, for the blk dev /dev/dm-0, /sys/block/dm-0/dm/name contains
the canonical name ocfs2-tmpdir, and /dev/mapper/ocfs2-tmpdir -> ../dm-0.
The fix was made in the generic mount (see util-linux-ng-2.17.2-12.14) but
not ported to ocfs2. This patch ports that fix to ocfs2-tools-1.8.0-11.
Signed-off-by: Tariq Saseed <tariq.x.saeed at oracle.com>
Signed-off-by: Joel Becker <jlbec at evilplan.org>
Signed-off-by: Srinivas Eeda <srinivas.eeda at oracle.com>
commit 92211c3466f26b66ef137aefabd776247447325a
Author: Srinivas Eeda <srinivas.eeda at oracle.com>
Date: Tue Mar 18 06:57:02 2014 -0700
mounted.ocfs2: Ignore partitioned devices
Devices which are partitioned need not be checked for ocfs2. Ignore
whole devices but keep the partitions in the list.
Signed-off-by: Goldwyn Rodrigues <rgoldwyn at suse.com>
Signed-off-by: Srinivas Eeda <srinivas.eeda at oracle.com>
commit 763d3c8d0ecf80e3d2e3ce192b273406099a04dd
Author: Srinivas Eeda <srinivas.eeda at oracle.com>
Date: Tue Mar 18 06:56:02 2014 -0700
Fix warning: oom_adj is deprecated, use oom_score_adj
Fixes the warning:
ocfs2_controld. (3784): /proc/3784/oom_adj is deprecated, please use
/proc/3784/oom_score_adj instead.
Signed-off-by: Goldwyn Rodrigues <rgoldwyn at suse.com>
Signed-off-by: Srinivas Eeda <srinivas.eeda at oracle.com>
commit 6b689d45289d4804647cbe51e5cb65c88131f3f7
Author: Srinivas Eeda <srinivas.eeda at oracle.com>
Date: Tue Mar 18 06:55:02 2014 -0700
fsck.ocfs2: dynamically allocate ocfs2_dir_entry for long filenames
Signed-off-by: Goldwyn Rodrigues <rgoldwyn at suse.com>
Signed-off-by: Srinivas Eeda <srinivas.eeda at oracle.com>
commit eb34f7f92f1bc714b5d19eb3aeb1c65d667b5db0
Author: Srinivas Eeda <srinivas.eeda at oracle.com>
Date: Tue Mar 18 06:55:01 2014 -0700
fsck: Rebuild index tree if lookup returns corrupted index
Signed-off-by: Goldwyn Rodrigues <rgoldwyn at suse.com>
Signed-off-by: Srinivas Eeda <srinivas.eeda at oracle.com>
commit a56b83a51f69197a3eedfb628c11ffb630019335
Author: Srinivas Eeda <srinivas.eeda at oracle.com>
Date: Tue Mar 18 06:55:00 2014 -0700
libocfs2: Change asserts to error
While running fsck.ocfs2, if an assert is met, fsck.ocfs2 terminates.
This error is still recoverable, because the index of the directory
can be rebuilt. Converting the asserts to an error would return
control to fsck.
Signed-off-by: Goldwyn Rodrigues <rgoldwyn at suse.com>
Acked-by: Joel Becker <jlbec at evilplan.org>
Signed-off-by: Srinivas Eeda <srinivas.eeda at oracle.com>
commit 5e32287908c78d532c38ca9c83d15ac353b8a366
Author: Srinivas Eeda <srinivas.eeda at oracle.com>
Date: Tue Mar 18 06:55:00 2014 -0700
fsck.ocfs2: Re-calculate ECC for system inodes if incorrect
Signed-off-by: Goldwyn Rodrigues <rgoldwyn at suse.de>
Signed-off-by: Srinivas Eeda <srinivas.eeda at oracle.com>
commit 0daba6eada5094e475adeb5ace923d3eadf7f42b
Author: Srinivas Eeda <srinivas.eeda at oracle.com>
Date: Tue Mar 18 06:54:59 2014 -0700
Add BAD_CRC32 prompt for fsck checks
Signed-off-by: Goldwyn Rodrigues <rgoldwyn at suse.de>
Signed-off-by: Srinivas Eeda <srinivas.eeda at oracle.com>
commit 5c6dac8644e592fda4d53fa0e45602c3eb2a1783
Author: Srinivas Eeda <srinivas.eeda at oracle.com>
Date: Tue Mar 18 06:54:59 2014 -0700
Memcpy block data before performing metaec blockcheck
Code Rearrangement:
We now return OCFS2_ET_BAD_CRC32 when a blockcheck fails. However, we
still copy the data so that the calling function can do what it wants
with the data. This is helpful for fsck.ocfs2 where block can be valid
but crc32 fields are not.
Signed-off-by: Goldwyn Rodrigues <rgoldwyn at suse.de>
Signed-off-by: Srinivas Eeda <srinivas.eeda at oracle.com>
commit 24b96901c589cb39bbb515697bbf7721c7ddb418
Author: Srinivas Eeda <srinivas.eeda at oracle.com>
Date: Tue Mar 18 06:54:58 2014 -0700
Introduce OCFS2_ET_BAD_CRC32 error for incorrect
metadata
This is used in metaecc to indicate the block check failed and/or
the field has incorrect CRC32 data.
Signed-off-by: Goldwyn Rodrigues <rgoldwyn at suse.de>
Signed-off-by: Srinivas Eeda <srinivas.eeda at oracle.com>
commit 5215a7965f4e9c6540afd4798fafaf77061e75b8
Author: Srinivas Eeda <srinivas.eeda at oracle.com>
Date: Tue Mar 18 06:54:57 2014 -0700
Change the pkg-config for ocfs2 to include libaio
libocfs2 now require libaio. Include it in the pkg-config file so
library detection for ocfs2-test can be done using pkg-config.
Signed-off-by: Goldwyn Rodrigues <rgoldwyn at suse.com>
Signed-off-by: Srinivas Eeda <srinivas.eeda at oracle.com>
commit 4082797b6f996f2245b279d22b24c453d53b9d8c
Author: Srinivas Eeda <srinivas.eeda at oracle.com>
Date: Tue Mar 18 06:54:57 2014 -0700
Include libaio while building ocfs2console
libocfs2 now requires libaio as well because of Asynchronous I/O
functions implementations. Include it while building ocfs2console
Signed-off-by: Goldwyn Rodrigues <rgoldwyn at suse.com>
Signed-off-by: Srinivas Eeda <srinivas.eeda at oracle.com>
commit efca4b0f2241de0fe9ae5f7ee673e6bcd99cda9f
Author: Srinivas Eeda <srinivas.eeda at oracle.com>
Date: Tue Mar 18 06:54:51 2014 -0700
Break a chain loop in group desc
This patch detects and a loop by checking hops against the theoretical
limit of number of chains in a chain_rec. If a loop is found, it breaks
it by storing the block numbers and comparing with exiting block
numbers.
Signed-off-by: Goldwyn Rodrigues <rgoldwyn at suse.de>
Signed-off-by: Srinivas Eeda <srinivas.eeda at oracle.com>
commit edb08a4c27668b163cfd2f8b6b6b21383838deca
Author: Srinivas Eeda <srinivas.eeda at oracle.com>
Date: Tue Mar 11 11:38:30 2014 -0700
fswreck: Create a loop in group chains
Signed-off-by: Goldwyn Rodrigues <rgoldwyn at suse.de>
Signed-off-by: Srinivas Eeda <srinivas.eeda at oracle.com>
commit 87f9ea6a6af44949ec5eda1ce7e49190f2f49d8d
Author: Srinivas Eeda <srinivas.eeda at oracle.com>
Date: Tue Mar 11 11:38:29 2014 -0700
Fix indexed directories
In pass1, if an index of a directory is corrupt, set it to
zero and rebuild in pass2.
Signed-off-by: Goldwyn Rodrigues <rgoldwyn at suse.com>
Signed-off-by: Srinivas Eeda <srinivas.eeda at oracle.com>
commit 35197549319ce5303d794d26058c66d7ced14564
Author: Srinivas Eeda <srinivas.eeda at oracle.com>
Date: Tue Mar 11 11:38:29 2014 -0700
Change umode_t to unsigned short
Signed-off-by: Goldwyn Rodrigues <rgoldwyn at suse.com>
Signed-off-by: Srinivas Eeda <srinivas.eeda at oracle.com>
commit b10108fac6af4d52944bd6cb6eddc366ec0c838d
Author: Srinivas Eeda <srinivas.eeda at oracle.com>
Date: Tue Mar 11 11:38:28 2014 -0700
ocfs2-tools: do not swap entries if inode is empty
if inode is empty to not call swap functions
Signed-off-by: Srinivas Eeda <srinivas.eeda at oracle.com>
commit 11cb9b73012793cc9546e2b9dfe6c8b76d483d11
Author: Srinivas Eeda <srinivas.eeda at oracle.com>
Date: Tue Mar 11 11:38:27 2014 -0700
ocfs2-tools: set indexed dir flag before init dir
ocfs2_init_dir_trailers adds trailer to indexed root. However it fails to
swap the tailer as the flag was set much later. Fix is to set
OCFS2_INDEXED_DIR_FL flag before calling ocfs2_init_dir_trailers
Signed-off-by: Srinivas Eeda <srinivas.eeda at oracle.com>
commit 7ba09a2470ff4974a429bcadd402c26633b03539
Author: Srinivas Eeda <srinivas.eeda at oracle.com>
Date: Tue Mar 11 11:38:23 2014 -0700
ocfs2-tools: fix jconfig add-stanza
Fixed a problem in jconfig.c for registering nodes where only
the first node showed was registered.
Signed-off-by: Srinivas Eeda <srinivas.eeda at oracle.com>
commit 71a34e3a5aed6bf939452649b76dc5568b927a37
Author: Srinivas Eeda <srinivas.eeda at oracle.com>
Date: Mon Mar 10 17:15:46 2014 -0700
o2cb.init: Add online-status
Add option online-status to the o2cb init service. This option returns
a one-line output (online, offline, error) and an error code (0 online,
1 offline and 2 error). This is useful for script writers.
Signed-off-by: Sunil Mushran <sunil.mushran at oracle.com>
Signed-off-by: Srinivas Eeda <srinivas.eeda at oracle.com>
commit 04eb10789d0459dc1f578647d4186833a4149797
Author: Srinivas Eeda <srinivas.eeda at oracle.com>
Date: Mon Mar 10 17:10:06 2014 -0700
o2cb.init: Kill processes using dlmfs during stop
The o2cb init script needs to kill all processes using dlmfs before
shutting down the heartbeat. This patch uses fuser to kill processes
using dlmfs during o2cb stop.
Signed-off-by: Sunil Mushran <sunil.mushran at oracle.com>
Signed-off-by: Srinivas Eeda <srinivas.eeda at oracle.com>
commit c6d8555b9dfc87c98f01aef3c0487b98a45de2ba
Author: Srinivas Eeda <srinivas.eeda at oracle.com>
Date: Mon Mar 10 17:07:39 2014 -0700
o2cb.init: Cleanup userdlm domains during o2cb offline
The o2cb init service now cleans up userdlm domains during offline. It also
creates /var/lock/susbsys/o2cb to ensure the service is stopped during shutdown.
Signed-off-by: Sunil Mushran <sunil.mushran at oracle.com>
Signed-off-by: Srinivas Eeda <srinivas.eeda at oracle.com>
commit 8c3ac4bae636b9a4112ac2b4d0d0670bf320bec8
Author: Srinivas Eeda <srinivas.eeda at oracle.com>
Date: Mon Mar 10 16:24:10 2014 -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>
Signed-off-by: Srinivas Eeda <srinivas.eeda at oracle.com>
commit e7ccf9d595e885fc0a11fc9086e9c6b8169e9f45
Author: Srinivas Eeda <srinivas.eeda at oracle.com>
Date: Mon Mar 10 16:17:44 2014 -0700
o2cb: use ocfs2_free to free o2cb_cluster_desc
This will initialize it to NULL which prevents double free.
Signed-off-by: Srinivas Eeda <srinivas.eeda at oracle.com>
commit 4d7cde1634b610d10b2db1a3f01aea3ac1e702ac
Author: Srinivas Eeda <srinivas.eeda at oracle.com>
Date: Mon Mar 10 15:48:13 2014 -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>
Signed-off-by: Srinivas Eeda <srinivas.eeda at oracle.com>
commit 38fa4116df24cb90ff037d3d09f5390d9ddcaa0e
Author: Srinivas Eeda <srinivas.eeda at oracle.com>
Date: Mon Mar 10 15:42:59 2014 -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>
Signed-off-by: Srinivas Eeda <srinivas.eeda at oracle.com>
-----------------------------------------------------------------------
Summary of changes:
configure.in | 2 +-
debugfs.ocfs2/commands.c | 36 ++++++++
debugfs.ocfs2/dump.c | 92 +++++---------------
debugfs.ocfs2/include/dump.h | 1 +
debugfs.ocfs2/include/utils.h | 1 +
debugfs.ocfs2/utils.c | 59 +++++++++++++
fsck.ocfs2/fsck.ocfs2.checks.8.in | 26 ++++++
fsck.ocfs2/pass0.c | 61 ++++++++++++-
fsck.ocfs2/pass1.c | 12 ++-
fsck.ocfs2/pass1b.c | 16 +++-
fsck.ocfs2/pass2.c | 27 +++++-
fswreck/corrupt.c | 3 +
fswreck/group.c | 6 ++
fswreck/include/fsck_type.h | 1 +
fswreck/main.c | 2 +
include/ocfs2-kernel/ocfs2_fs.h | 2 +-
include/ocfs2/ocfs2.h | 2 +
libo2cb/o2cb_abi.c | 10 +--
libocfs2/blockcheck.c | 2 +-
libocfs2/blocktype.c | 75 ++++++++++++++++
libocfs2/dir_indexed.c | 15 ++--
libocfs2/inode.c | 11 ++-
libocfs2/ocfs2_err.et | 3 +
mount.ocfs2/mount.ocfs2.c | 5 +-
mount.ocfs2/sundries.c | 45 +++++++++-
mounted.ocfs2/mounted.c | 58 ++++++++++++
o2cb_ctl/jconfig.c | 2 +
o2cb_ctl/op_register.c | 5 +
ocfs2.pc.in | 2 +-
ocfs2_controld/main.c | 2 +-
ocfs2console/ocfs2interface/Makefile | 2 +-
vendor/common/o2cb.init.sh | 158 +++++++++++++++++++++++++++++++--
32 files changed, 621 insertions(+), 123 deletions(-)
hooks/post-receive
--
Tools to manage the ocfs2 filesystem.
More information about the Ocfs2-tools-commits
mailing list