[Ocfs2-tools-commits] branch, libdlmcontrol, created. ocfs2-tools-1.4.0-130-gff6966b
svn-commits at oss.oracle.com
svn-commits at oss.oracle.com
Wed Aug 13 17:14:13 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 created
at ff6966bae87937814a10a4eabf37f74afa1e36f3 (commit)
- Log -----------------------------------------------------------------
commit ff6966bae87937814a10a4eabf37f74afa1e36f3
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 recovery before the dlm completes its 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 cffa83d340b3a3ffa58ebe16210fae298315f71f
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>
commit 98f045c8b89cb6f513aa3329bb1b1dcc49c0d0ac
Author: Joel Becker <joel.becker at oracle.com>
Date: Fri Aug 1 19:55:23 2008 -0700
ocfs2_controld: Register mountgroups with dlm_controld
Links up the mountgroup code with the dlmcontrol code.
Signed-off-by: Joel Becker <joel.becker at oracle.com>
commit f7e45e0ef68dcd5fd125e8fcfac80000661834d4
Author: Joel Becker <joel.becker at oracle.com>
Date: Fri Aug 1 19:13:29 2008 -0700
ocfs2_controld: Registration function for lockspaces.
We want to register a filesystem uuid with dlm_controld so that the
lockspace waits on us before recovery. We use libdlmcontrol's
registration functions.
Signed-off-by: Joel Becker <joel.becker at oracle.com>
commit 7cb8df5a1fb39f48e1768148f08f2e19349a09ac
Author: Joel Becker <joel.becker at oracle.com>
Date: Fri Aug 1 19:13:03 2008 -0700
ocfs2_control: udev rule update
We only have one filename, so there is no need to use %k. udevd didn't
like it somehow.
Signed-off-by: Joel Becker <joel.becker at oracle.com>
commit 2699aa1dfc77a6cfaf145af40720a0ccea1876ee
Author: Joel Becker <joel.becker at oracle.com>
Date: Fri Aug 1 15:52:26 2008 -0700
ocfs2_controld: Connect to dlm_controld.
Our first step in introducing the dlmcontrol API is to connect and
disconnect from dlm_controld at start and exit.
Signed-off-by: Joel Becker <joel.becker at oracle.com>
commit 06432a1368968ac43b616a9671ca66fb70ba50a3
Author: Joel Becker <joel.becker at oracle.com>
Date: Tue Jul 29 18:15:01 2008 -0700
ocfs2_controld: Make libdlmcontrol required
ocfs2_controld needs to use libdlmcontrol to talk to dlm_controld. This
makes configure detect its presence. It also separates
BUILD_OCFS2_CONTROLD from BUILD_CMAN_SUPPORT. The parts required for
all ocfs2_controlds (cpg, openais, libdlm, libdlmcontrol) are tested
separately then the cman part specific to a cman controld.
This allows other stacks to check and set BUILD_XXX_SUPPORT for their
own controld independent of cpg/libdlm.
Signed-off-by: Joel Becker <joel.becker at oracle.com>
commit 70ff146b924343dc06dfbdc238479705285b7f93
Author: Joel Becker <joel.becker at oracle.com>
Date: Fri Aug 8 18:07:50 2008 -0700
libo2dlm: Fix a couple of bugs accessing libdlm.
This fixes two bugs with libdlm. First, older versions of fs/dlm could
return EEXIST while the filesystem is mounted. Handle that. Second,
and uninitialized dlm_ctxt sometimes prevented us from loading libdlm in
the first place.
Signed-off-by: Joel Becker <joel.becker at oracle.com>
commit f07477da2af1c5da8a51c4a5e9c45bbda74f8496
Author: Joel Becker <joel.becker at oracle.com>
Date: Tue Jul 29 17:08:36 2008 -0700
libo2dlm: We create libdlm.h for compatibility when we don't find libdlm. Let's ignore that file.
Signed-off-by: Joel Becker <joel.becker at oracle.com>
-----------------------------------------------------------------------
hooks/post-receive
--
Tools to manage the ocfs2 filesystem.
More information about the Ocfs2-tools-commits
mailing list