Commit f42a100b authored by Kurt Hackel's avatar Kurt Hackel Committed by Mark Fasheh

ocfs2: have dlm_pre_master_reco_lockres() ignore dead nodes

Recovery will spin in dlm_pre_master_reco_lockres if we do not ignore
timed-out network responses from dead nodes.
Signed-off-by: default avatarKurt Hackel <kurt.hackel@oracle.com>
Signed-off-by: default avatarMark Fasheh <mark.fasheh@oracle.com>
parent 6ff06a93
...@@ -2050,6 +2050,7 @@ static int dlm_pre_master_reco_lockres(struct dlm_ctxt *dlm, ...@@ -2050,6 +2050,7 @@ static int dlm_pre_master_reco_lockres(struct dlm_ctxt *dlm,
BUG(); BUG();
/* host is down, so answer for that node would be /* host is down, so answer for that node would be
* DLM_LOCK_RES_OWNER_UNKNOWN. continue. */ * DLM_LOCK_RES_OWNER_UNKNOWN. continue. */
ret = 0;
} }
if (master != DLM_LOCK_RES_OWNER_UNKNOWN) { if (master != DLM_LOCK_RES_OWNER_UNKNOWN) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment