[Ocfs2-tools-commits] branch, master, updated. ocfs2-tools-1.4.0-177-gfba06d1

svn-commits at oss.oracle.com svn-commits at oss.oracle.com
Tue Oct 7 13:57:51 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  fba06d158641379a30a1adf49721c2c7c602a7ee (commit)
       via  a10843dacebba3199133bdf5945b37c7a1c076de (commit)
       via  38a6efd0a4fc79fde0dec1dcee025af391ebf7b9 (commit)
      from  9603bcd51cbdac58c5be4506befcac642126db25 (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 fba06d158641379a30a1adf49721c2c7c602a7ee
Author: Joel Becker <joel.becker at oracle.com>
Date:   Wed Sep 10 16:21:21 2008 -0700

    tunefs.ocfs2: Add the cloned_volume operation.
    
    Users with SANs often want to create clones or snapshots of ocfs2 volumes.
    However, these volumes cannot be mounted, because the original volume
    has the same UUID and is still in use.
    
    The cloned_volume operation will reset the UUID and label of the given
    device.  It cannot check with the cluster stack, so it must call
    tunefs_interact_critical().
    
    The --cloned-volume option has an optional <new-label> argument.  If
    specified, the volume's label will be set to <new-label>.  If not, the
    current volume label with have '-cloned' appended to it.  If the label
    already ends in '-cloned', it is not modified.  The label will be
    truncated to fit '-cloned'.
    
    Because op_cloned_volume cannot start the cluster stack, a new
    tunefs_open() flag is provided: TUNFES_FLAG_SKIPCLUSTER.  This skips all
    cluster initialization, including dirty journal checks (which can't be
    fixed without the cluster).  Operations using TUNEFS_FLAG_SKIPCLUSTER
    are run before operations specifying TUNEFS_FLAG_NOCLUSTER.
    
    Signed-off-by: Joel Becker <joel.becker at oracle.com>
    Signed-off-by: Sunil Mushran <sunil.mushran at oracle.com>

commit a10843dacebba3199133bdf5945b37c7a1c076de
Author: Joel Becker <joel.becker at oracle.com>
Date:   Wed Sep 10 16:00:47 2008 -0700

    debugfs.ocfs2: Fix walking off the end of the volume label.
    
    ocfs2 volume labels are not terminated, so handle that.
    
    Signed-off-by: Joel Becker <joel.becker at oracle.com>
    Signed-off-by: Sunil Mushran <sunil.mushran at oracle.com>

commit 38a6efd0a4fc79fde0dec1dcee025af391ebf7b9
Author: Joel Becker <joel.becker at oracle.com>
Date:   Wed Sep 10 15:20:53 2008 -0700

    libtools-internal: Add automatic 'yes' and 'no' to tools_interact().
    
    Programs wishing to provide '-y' and '-n' options can now call
    tools_interact_yes() and tools_interact_no().  Once that's done,
    tools_interact() will use this answer rather than prompting stdin.
    
    Signed-off-by: Joel Becker <joel.becker at oracle.com>
    Signed-off-by: Sunil Mushran <sunil.mushran at oracle.com>

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

Summary of changes:
 debugfs.ocfs2/dump.c             |    2 +-
 include/tools-internal/verbose.h |    3 +
 libtools-internal/verbose.c      |   19 +++++-
 tunefs.ocfs2/Makefile            |    1 +
 tunefs.ocfs2/libocfs2ne.c        |   43 +++++++++--
 tunefs.ocfs2/libocfs2ne.h        |    2 +
 tunefs.ocfs2/o2ne_err.et         |    3 +
 tunefs.ocfs2/ocfs2ne.c           |   74 +++++++++++++++++-
 tunefs.ocfs2/op_cloned_volume.c  |  150 ++++++++++++++++++++++++++++++++++++++
 9 files changed, 281 insertions(+), 16 deletions(-)
 create mode 100644 tunefs.ocfs2/op_cloned_volume.c


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



More information about the Ocfs2-tools-commits mailing list