ocfs2: pending mastery asserts and migrations should block each other
authorKurt Hackel <kurt.hackel@oracle.com>
Mon, 1 May 2006 20:32:27 +0000 (13:32 -0700)
committerMark Fasheh <mark.fasheh@oracle.com>
Mon, 26 Jun 2006 21:43:08 +0000 (14:43 -0700)
commit36407488b1cbc4d84bc2bd14e03f3f9b768090d9
treec3b010ef79b59e531f34c7fdf7c8d3575c62a405
parentc87a9ae7059f718bf1bb87a702fcbef535e32111
ocfs2: pending mastery asserts and migrations should block each other

Use the existing structure for blocking migrations when ASTs are pending to
achieve the same result. If we can catch the assert before it goes on the
wire, just cancel it and let the migration continue.

Signed-off-by: Kurt Hackel <kurt.hackel@oracle.com>
Signed-off-by: Mark Fasheh <mark.fasheh@oracle.com>
fs/ocfs2/dlm/dlmmaster.c