[Ocfs2-tools-commits] branch, master, updated. ocfs2-tools-1.4.0-500-g1223411

svn-commits at oss.oracle.com svn-commits at oss.oracle.com
Fri Apr 16 14:05:07 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  122341146bd739c26bdd1a0547386d84e5ab672d (commit)
       via  f6342636ba38da752092713cf1d251ef80b2f4f7 (commit)
       via  f8364571a3eb528696b84c17f98353e262126a38 (commit)
       via  c0737b64c25e615131eab691d970caf466e79e0b (commit)
       via  c321c51c249e51f88590707f4ea14a7ff0addcb2 (commit)
       via  e42e356969160872ffd8ec4fb220fb3a166f446f (commit)
       via  99b218010428656759de7ec29c2259f162425f2d (commit)
      from  0131117c6c67f9b6e167868677748a2aebb9dbd0 (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 122341146bd739c26bdd1a0547386d84e5ab672d
Author: Joel Becker <joel.becker at oracle.com>
Date:   Tue Feb 9 19:11:39 2010 -0800

    libocfs2: Detect stackglue and use it for all libo2dlm interaction.
    
    Now all ocfs2 tools will use libo2dlm+dlmfs for any stack that supports
    it.
    
    Signed-off-by: Joel Becker <joel.becker at oracle.com>
    Signed-off-by: Sunil Mushran <sunil.mushran at oracle.com>

commit f6342636ba38da752092713cf1d251ef80b2f4f7
Author: Joel Becker <joel.becker at oracle.com>
Date:   Tue Feb 9 13:41:58 2010 -0800

    o2cb.init: Load dlmfs for user stacks when supported
    
    If dlmfs supports user stacks, load and mount it at startup.
    This is gated by the 'stackglue' capability.  ocfs2_dlmfs reports this
    as a module parameter named 'capabilities'.  If ocfs2_dlmfs is built-in
    or loaded, this will appear at
    /sys/module/ocfs2_dlmfs/parameter/capabilities.  If it is not loaded, we
    can find it via modinfo.
    
    Signed-off-by: Joel Becker <joel.becker at oracle.com>
    Signed-off-by: Sunil Mushran <sunil.mushran at oracle.com>

commit f8364571a3eb528696b84c17f98353e262126a38
Author: Joel Becker <joel.becker at oracle.com>
Date:   Tue Feb 9 19:01:48 2010 -0800

    libo2dlm: Don't drop locks at unlock.
    
    Currently, libo2dlm unlinks files from dlmfs when a lock is unlocked.
    This drops the lock in the DLM, losing the contents of the LVB and
    removing any lock caching.  While o2dlm holds onto a lock for a few
    seconds, no DLM guarantees this will happen.  We don't want that!
    
    Instead, we change o2dlm_unlock() to leave the lock file around in
    dlmfs.  This is a truly cached lock.  The calling program can explicitly
    drop the lock with o2dlm_drop_lock().  Otherwise, the lock is dropped
    when the domain is shut down.
    
    lvb_torture now passes with fsdlm.
    
    Signed-off-by: Joel Becker <joel.becker at oracle.com>
    Signed-off-by: Sunil Mushran <sunil.mushran at oracle.com>

commit c0737b64c25e615131eab691d970caf466e79e0b
Author: Joel Becker <joel.becker at oracle.com>
Date:   Tue Feb 9 18:41:41 2010 -0800

    libo2dlm: Detect invalid LVBs
    
    When a DLM does recovery, it may have to invalidate the contents of an
    LVB or two.  The DLMs provide a method to detect this.  dlmfs has
    learned to report this via a zero-length read(2).  libo2dlm now notices
    the zero length and returns an error to the caller.
    
    Signed-off-by: Joel Becker <joel.becker at oracle.com>
    Signed-off-by: Sunil Mushran <sunil.mushran at oracle.com>

commit c321c51c249e51f88590707f4ea14a7ff0addcb2
Author: Joel Becker <joel.becker at oracle.com>
Date:   Wed Jan 27 18:53:26 2010 -0800

    libo2dlm: Add support for BASTs
    
    ocfs2_dlmfs can now notify userspace of BASTs via poll(2) or select(2).
    We need a way for libo2dlm users to actually access this information.
    
    This change introduces two new functions.  The first,
    o2dlm_lock_with_bast(), is exactly like o2dlm_lock() except that it
    takes a BAST function and returns a file descriptor to poll on.  When
    that file descriptor signals data is ready, the program calls the second
    new function, o2dlm_process_bast().  This will fire off the appropriate
    BAST.
    
    If dlmfs isn't BAST capable, we'll get an error.
    
    Signed-off-by: Joel Becker <joel.becker at oracle.com>
    Signed-off-by: Sunil Mushran <sunil.mushran at oracle.com>

commit e42e356969160872ffd8ec4fb220fb3a166f446f
Author: Joel Becker <joel.becker at oracle.com>
Date:   Tue Feb 9 01:38:19 2010 -0800

    libo2dlm: Provide capability queries
    
    ocfs2_dlmfs can now report added capabilities via a module parameter.
    libo2dlm now can query them before trying to use them.
    
    The two known capabilities at this time are 'bast' and 'stackglue'.
    
    Signed-off-by: Joel Becker <joel.becker at oracle.com>
    Signed-off-by: Sunil Mushran <sunil.mushran at oracle.com>

commit 99b218010428656759de7ec29c2259f162425f2d
Author: Joel Becker <joel.becker at oracle.com>
Date:   Tue Nov 17 12:44:03 2009 -0800

    ocfs2_journal_check_available_features(): Never allow FEATURE_COMPAT_CHECKSUM
    
    ocfs2 will never use jbd2 checksums.  If a jbd2 checksum fails, the
    transaction is not replayed.  This means that some parts of the
    transaction may have checkpointed while other parts have not.  This
    inconsistent state requires fsck to repair.  ocfs2, being clustered,
    can't tolerate that situation.  Instead, ocfs2 prefers to replay the
    journal.  This allows the cluster to remain running.  Using the METAECC
    feature allows ocfs2 to detect and isolate any corrupted blocks.
    
    Signed-off-by: Joel Becker <joel.becker at oracle.com>
    Signed-off-by: Sunil Mushran <sunil.mushran at oracle.com>

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

Summary of changes:
 include/o2dlm/o2dlm.h      |   36 +++++++-
 libo2dlm/.gitignore        |    1 +
 libo2dlm/Makefile          |    2 +-
 libo2dlm/capabilities.c    |  131 ++++++++++++++++++++++++++++
 libo2dlm/o2dlm.c           |  208 +++++++++++++++++++++++++++++++++++++++++---
 libo2dlm/o2dlm_err.et      |    6 ++
 libocfs2/dlm.c             |   20 +++-
 libocfs2/mkjournal.c       |   13 +++
 vendor/common/o2cb.init.sh |   33 +++++++
 9 files changed, 428 insertions(+), 22 deletions(-)
 create mode 100644 libo2dlm/capabilities.c


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



More information about the Ocfs2-tools-commits mailing list