[Ocfs2-tools-commits] branch, master, updated. ocfs2-tools-1.4.0-598-gcc2c5d9

svn-commits at oss.oracle.com svn-commits at oss.oracle.com
Tue Oct 26 01:47:24 PDT 2010


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  cc2c5d91bc5dd8c379ff94d4627f60103338d32a (commit)
       via  8a10fc5ea2ee81dcb18afd685f65fac7fd5f2ae6 (commit)
       via  dc59558c2f4b67aef274b67a3d0f7e29e220284f (commit)
       via  ba76a16873f97aa898fb7fa24cd04b2767a80c54 (commit)
       via  7500e4bd8131f7b88ffef2c120bd938e361205a9 (commit)
       via  37f4742fea60359a403c5ab8bae4fd142a289ae3 (commit)
      from  a58fbeaa0872fdf42fb69f3c0eb47a66c5eddf40 (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 cc2c5d91bc5dd8c379ff94d4627f60103338d32a
Author: Tristan Ye <tristan.ye at oracle.com>
Date:   Mon Oct 25 18:41:13 2010 +0800

    O2info: Add --mkfs support for o2info.
    
    '--mkfs' teaches o2info to output an oringal format of mkfs.ocfs's
    arguments, which can be used conveniently for a fresh mkfs try:
    
    $mkfs.ocfs2 "$(o2info --mkfs /dev/name/or/path/of/file)" /dev/sdaX
    
    Signed-off-by: Tristan Ye <tristan.ye at oracle.com>
    Acked-by: Sunil Mushran <sunil.mushran at oracle.com>

commit 8a10fc5ea2ee81dcb18afd685f65fac7fd5f2ae6
Author: Tristan Ye <tristan.ye at oracle.com>
Date:   Mon Oct 25 18:29:02 2010 +0800

    O2info: Add running codes for '--volinfo'.
    
    Patch teaches o2info to dump volume's basic info.
    
    Task of '--volinfo' will also be capable of two approaches, including
    libocfs2 and ioctl solutions.
    
    Signed-off-by: Tristan Ye <tristan.ye at oracle.com>
    Acked-by: Sunil Mushran <sunil.mushran at oracle.com>

commit dc59558c2f4b67aef274b67a3d0f7e29e220284f
Author: Tristan Ye <tristan.ye at oracle.com>
Date:   Mon Oct 25 18:12:14 2010 +0800

    O2info: Add running codes for '--fs-features'.
    
    This patch teaches o2info to dump fs's features on volume.
    
    Task of dumping 'fs-features' will be capable of two approaches,
    including libocfs2 and ioctl methods.
    
    Signed-off-by: Tristan Ye <tristan.ye at oracle.com>
    Acked-by: Sunil Mushran <sunil.mushran at oracle.com>

commit ba76a16873f97aa898fb7fa24cd04b2767a80c54
Author: Tristan Ye <tristan.ye at oracle.com>
Date:   Mon Oct 25 18:10:04 2010 +0800

    O2info: Add '--cluster-coherent' option for o2info.
    
    Default will be no cluster-in-coherency.
    
    Signed-off-by: Tristan Ye <tristan.ye at oracle.com>
    Acked-by: Sunil Mushran <sunil.mushran at oracle.com>

commit 7500e4bd8131f7b88ffef2c120bd938e361205a9
Author: Tristan Ye <tristan.ye at oracle.com>
Date:   Mon Oct 25 18:07:33 2010 +0800

    O2info: Build a main framework for o2info.
    
    This patch tries to build main framework with necessary *.h and *.c
    files being generated. it did the option parsing and initialization,
    and only works for --help and --version, more operations will be
    elaborated in later patches.
    
    To be more detail: all of o2info's operations will be linked to
    a task list, and executed one by one later.
    
    Workflow of adding a new operation task for o2info(such as --volinfo)
    will be like following:
    
    1. Declare a new extern operation structure.
       extern struct o2info_operation volinfo_op;
    
    2. Add a new option:
       static struct o2info_option volinfo_option = {
            .opt_option     = {
                    .name           = "volinfo",
                    .val            = 'V',
                    .has_arg        = 0,
                    .flag           = NULL,
            },
            .opt_help       =
                    "-V|--volinfo",
            .opt_handler    = NULL,
            .opt_op         = &volinfo_op,
            .opt_private    = NULL,
    };
    
    3. Implement necessary utility func in utils.c.
    
    4. Implement the real running codes for volinfo_op in operation.c.
    
    Signed-off-by: Tristan Ye <tristan.ye at oracle.com>
    Acked-by: Sunil Mushran <sunil.mushran at oracle.com>

commit 37f4742fea60359a403c5ab8bae4fd142a289ae3
Author: Tristan Ye <tristan.ye at oracle.com>
Date:   Sat May 22 16:27:57 2010 +0800

    O2info: Add all structures and commands OCFS2_IOC_INFO needed into ocfs2_ioctl.h
    
    Signed-off-by: Tristan Ye <tristan.ye at oracle.com>
    Acked-by: Sunil Mushran <sunil.mushran at oracle.com>

-----------------------------------------------------------------------

Summary of changes:
 CREDITS                                            |    3 +
 Makefile                                           |    2 +-
 configure.in                                       |    1 +
 debian/ocfs2-tools.install                         |    2 +
 debian/ocfs2-tools.manpages                        |    1 +
 include/ocfs2-kernel/ocfs2_ioctl.h                 |   95 +++
 {include/ocfs2 => o2info}/.gitignore               |    7 +-
 o2info/Makefile                                    |   38 ++
 o2info/o2info.1.in                                 |   65 ++
 o2info/o2info.c                                    |  552 +++++++++++++++++
 o2info/o2info.h                                    |   82 +++
 o2info/operations.c                                |  637 ++++++++++++++++++++
 o2info/utils.c                                     |  184 ++++++
 .../include/slot_recovery.h => o2info/utils.h      |   24 +-
 vendor/common/ocfs2-tools.spec-generic.in          |    2 +
 15 files changed, 1681 insertions(+), 14 deletions(-)
 copy {include/ocfs2 => o2info}/.gitignore (73%)
 create mode 100644 o2info/Makefile
 create mode 100644 o2info/o2info.1.in
 create mode 100644 o2info/o2info.c
 create mode 100644 o2info/o2info.h
 create mode 100644 o2info/operations.c
 create mode 100644 o2info/utils.c
 copy fsck.ocfs2/include/slot_recovery.h => o2info/utils.h (51%)


hooks/post-receive
-- 
Tools to manage the ocfs2 filesystem.



More information about the Ocfs2-tools-commits mailing list