[Ocfs2-tools-devel] [PATCH] ocfs2_controld: Fail-fast when leaving a mountgroup unexpectedly.

Mark Fasheh mfasheh at suse.com
Fri Aug 22 17:36:06 PDT 2008


On Fri, Aug 22, 2008 at 04:42:39PM -0700, Joel Becker wrote:
> When ocfs2_controld leaves a group unexpectedly (notified from cpg,
> unclean exit), it currently sends node down events to the filesystem.
> This doesn't work, because the filesystem BUG()s when given the local
> node number.
> 
> A better solution is to fail-fast.  Exit right when we discover we are
> leaving a live group unexpectedly.  If the group isn't live, clean up
> our state and continue.
> 
> Signed-off-by: Joel Becker <joel.becker at oracle.com>

Signed-off-by: Mark Fasheh <mfasheh at suse.com>

--
Mark Fasheh



More information about the Ocfs2-tools-devel mailing list