mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2025-01-19 03:46:09 +07:00
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:
parent
8b2198097a
commit
588e00902b
@ -994,12 +994,14 @@ static int dlm_wait_for_lock_mastery(struct dlm_ctxt *dlm,
|
||||
spin_unlock(&res->spinlock);
|
||||
/* this will cause the master to re-assert across
|
||||
* the whole cluster, freeing up mles */
|
||||
ret = dlm_do_master_request(mle, res->owner);
|
||||
if (ret < 0) {
|
||||
/* give recovery a chance to run */
|
||||
mlog(ML_ERROR, "link to %u went down?: %d\n", res->owner, ret);
|
||||
msleep(500);
|
||||
goto recheck;
|
||||
if (res->owner != dlm->node_num) {
|
||||
ret = dlm_do_master_request(mle, res->owner);
|
||||
if (ret < 0) {
|
||||
/* give recovery a chance to run */
|
||||
mlog(ML_ERROR, "link to %u went down?: %d\n", res->owner, ret);
|
||||
msleep(500);
|
||||
goto recheck;
|
||||
}
|
||||
}
|
||||
ret = 0;
|
||||
goto leave;
|
||||
|
Loading…
Reference in New Issue
Block a user