[Ocfs2-tools-commits] branch, libdlmcontrol, updated. ocfs2-tools-1.4.0-129-g74e6f9e

svn-commits at oss.oracle.com svn-commits at oss.oracle.com
Tue Aug 12 16:03:56 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, libdlmcontrol has been updated
       via  74e6f9e117a2b67340485f3448f5f7c6860c2cb2 (commit)
       via  95d05e893adfae93b311d8350b336c9e5a56e613 (commit)
      from  bd0bfb01ee536847f6d8717066bdc0d00dcb0ecf (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 74e6f9e117a2b67340485f3448f5f7c6860c2cb2
Author: Joel Becker <joel.becker at oracle.com>
Date:   Tue Aug 12 15:59:05 2008 -0700

    ocfs2_controld: Notify dlm_controld when we have a node go down.
    
    ocfs2 must start recover before the dlm completes recovery.  Otherwise,
    the dlm might give out locks that belonged to the dead node before ocfs2
    has had a chance to replay its journal.
    
    libdlmcontrol implements this ordering.  When ocfs2_controld sees a node
    go down, it tells dlm_controld via dlmc_fs_notified().  dlm_controld
    responds with success if it also has seen the node go down.  It
    responds nonzero otherwise.  dlm_controld knows to wait until it has
    seen the notification from ocfs2_controld.
    
    The ocfs2_controld implementation is simple.  It first notifies ocfs2,
    then sends the notification to dlm_controld.  ocfs2_controld will keep
    resending it while dlm_controld responds in the negative.  When
    dlm_controld finally gets the node down event, ocfs2_controld will stop
    sending.  We keep such a simple busy-looping scheme because the
    back-and-forth traffic actually means context switches and process
    sleeping.
    
    Signed-off-by: Joel Becker <joel.becker at oracle.com>

commit 95d05e893adfae93b311d8350b336c9e5a56e613
Author: Joel Becker <joel.becker at oracle.com>
Date:   Tue Aug 12 15:09:15 2008 -0700

    ocfs2_controld: De-register all filesystems on exit.
    
    If we're exiting uncleanly, we'll have a list of registered filesystems.
    Send fire-and-forget unregister events to dlm_controld.
    
    Signed-off-by: Joel Becker <joel.becker at oracle.com>

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

Summary of changes:
 ocfs2_controld/dlmcontrol.c     |  135 ++++++++++++++++++++++++++++++++++++++-
 ocfs2_controld/mount.c          |    2 +
 ocfs2_controld/ocfs2_controld.h |    1 +
 3 files changed, 136 insertions(+), 2 deletions(-)


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



More information about the Ocfs2-tools-commits mailing list