[Ocfs2-devel] [PATCH] ocfs2/dlm: Wait on lockres instead of erroring cancel requests

Joel Becker Joel.Becker at oracle.com
Thu Aug 20 18:49:23 PDT 2009


On Thu, Aug 20, 2009 at 01:43:19PM -0500, Goldwyn Rodrigues wrote:
> In case a downconvert is queued, and a flock receives a signal,
> BUG_ON(lockres->l_action != OCFS2_AST_INVALID) is triggered
> because a lock cancel triggers a dlmunlock while an AST is
> scheduled.
> 
> To avoid this, allow a LKM_CANCEL to pass through, and let it
> wait on __dlm_wait_on_lockres().
> 
> Signed-off-by: Goldwyn Rodrigues <rgoldwyn at suse.de>
> Signed-off-by: Mark Fasheh <mfasheh at suse.com>

This patch is now part of the fixes branch of ocfs2.git.

Joel

-- 

"Friends may come and go, but enemies accumulate." 
        - Thomas Jones

Joel Becker
Principal Software Developer
Oracle
E-mail: joel.becker at oracle.com
Phone: (650) 506-8127



More information about the Ocfs2-devel mailing list