[Ocfs2-tools-commits] branch, master, updated. ocfs2-tools-1.4.0-7-g90502fd
svn-commits at oss.oracle.com
svn-commits at oss.oracle.com
Fri May 23 14:17:38 PDT 2008
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 90502fd27369d08d16a0912dfe73dcbee0e001f0 (commit)
via 2110320f38abed84532ea462db1f687a71cf696d (commit)
via 3a4ef84542eba147cf0b7171f957344c40fd15dd (commit)
via ac10d67fef2d3dcacbe0d8a810738b06dcc63d0f (commit)
from 861319d6d858e94c05128c56e518e0b73f1cdc56 (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 90502fd27369d08d16a0912dfe73dcbee0e001f0
Author: Srinivas Eeda <srinivas.eeda at oracle.com>
Date: Wed May 7 14:37:49 2008 -0700
Enable debugfs.ocfs2 to recognize image-file
This patch adds o2image support to debugfs.ocfs2 tools.
Signed-off-by: Srinivas Eeda <srinivas.eeda at oracle.com>
commit 2110320f38abed84532ea462db1f687a71cf696d
Author: Srinivas Eeda <srinivas.eeda at oracle.com>
Date: Thu May 8 14:12:16 2008 -0700
Adds o2image tool
This patch adds o2image tool. A tool that can be used to save restore
critical ocfs2 filesystem metadata.
The patch also adds man pages and other build related changes
Signed-off-by: Srinivas Eeda <srinivas.eeda at oracle.com>
commit 3a4ef84542eba147cf0b7171f957344c40fd15dd
Author: Srinivas Eeda <srinivas.eeda at oracle.com>
Date: Wed May 7 14:23:07 2008 -0700
Adds o2image library support
This patch modifies libocfs2 routines to recognize and make appropriate call
when dealing o2image file
Signed-off-by: Srinivas Eeda <srinivas.eeda at oracle.com>
commit ac10d67fef2d3dcacbe0d8a810738b06dcc63d0f
Author: Srinivas Eeda <srinivas.eeda at oracle.com>
Date: Thu May 15 17:21:55 2008 -0700
Adds o2image header and supporting functions
o2image - An ocfs2 tool to save critical ocfs2 filesystem metadata to a
specified image-file. Image-file may be examined using debugfs.ocfs2 or
may be used to restore using o2image. Image-file can be of two formats:
1. Packed - This format(default) contains a o2image header, packed
metadata blocks and a bitmap.
2. raw - A raw image is a sparse file containing the metadata blocks.
Usage: o2image [-rI] <device> <imagefile>
Packed format contains bitmap towards the end of the image-file. Each bit in
the bitmap represents a block in the filesystem.
When the packed image is opened using o2image or debugfs.ocfs2, bitmap is
loaded into memory and used to map disk blocks to image blocks.
Raw image is a sparse file containing metadata blocks at the same offset as
the filesystem.
debugfs.ocfs2 is modified to detect image-file when the image-file is
specified with -i option.
This patch adds o2image header files and supporting functions to read
write to image-file
Signed-off-by: Srinivas Eeda <srinivas.eeda at oracle.com>
-----------------------------------------------------------------------
Summary of changes:
Makefile | 2 +-
configure.in | 1 +
debian/ocfs2-tools.manpages | 1 +
debugfs.ocfs2/commands.c | 64 ++-
debugfs.ocfs2/debugfs.ocfs2.8.in | 5 +
debugfs.ocfs2/include/main.h | 2 +
debugfs.ocfs2/main.c | 12 +-
extras/set_random_bits.c | 2 +-
fsck.ocfs2/journal.c | 2 +-
fsck.ocfs2/pass1.c | 2 +-
fswreck/dir.c | 4 +-
include/ocfs2/Makefile | 3 +-
include/ocfs2/image.h | 108 +++++
include/ocfs2/ocfs2.h | 12 +
libocfs2/Makefile | 3 +-
libocfs2/chain.c | 2 +-
libocfs2/dirblock.c | 2 +-
libocfs2/extents.c | 2 +-
libocfs2/fileio.c | 8 +-
libocfs2/image.c | 285 ++++++++++++
libocfs2/inode.c | 2 +-
libocfs2/inode_scan.c | 6 +-
libocfs2/mkjournal.c | 2 +-
libocfs2/namei.c | 2 +-
libocfs2/openfs.c | 47 ++-
libocfs2/truncate.c | 2 +-
libocfs2/unix_io.c | 5 +
{tunefs.ocfs2 => o2image}/Makefile | 18 +-
o2image/o2image.8.in | 59 +++
o2image/o2image.c | 675 +++++++++++++++++++++++++++++
vendor/common/ocfs2-tools.spec-generic.in | 2 +
31 files changed, 1291 insertions(+), 51 deletions(-)
create mode 100644 include/ocfs2/image.h
create mode 100644 libocfs2/image.c
copy {tunefs.ocfs2 => o2image}/Makefile (58%)
create mode 100644 o2image/o2image.8.in
create mode 100644 o2image/o2image.c
hooks/post-receive
--
Tools to manage the ocfs2 filesystem.
More information about the Ocfs2-tools-commits
mailing list