ocfs2: do not send master requests to localhost

Signed-off-by: Kurt Hackel <kurt.hackel@oracle.com>
Signed-off-by: Mark Fasheh <mark.fasheh@oracle.com>
This commit is contained in:
Kurt Hackel
2006-05-01 11:22:06 -07:00
committed by Mark Fasheh
parent 8b2198097a
commit 588e00902b

View File

@@ -994,6 +994,7 @@ recheck:
spin_unlock(&res->spinlock); spin_unlock(&res->spinlock);
/* this will cause the master to re-assert across /* this will cause the master to re-assert across
* the whole cluster, freeing up mles */ * the whole cluster, freeing up mles */
if (res->owner != dlm->node_num) {
ret = dlm_do_master_request(mle, res->owner); ret = dlm_do_master_request(mle, res->owner);
if (ret < 0) { if (ret < 0) {
/* give recovery a chance to run */ /* give recovery a chance to run */
@@ -1001,6 +1002,7 @@ recheck:
msleep(500); msleep(500);
goto recheck; goto recheck;
} }
}
ret = 0; ret = 0;
goto leave; goto leave;
} }