diff options
author | Kurt Hackel <kurt.hackel@oracle.com> | 2006-05-01 14:53:33 -0400 |
---|---|---|
committer | Mark Fasheh <mark.fasheh@oracle.com> | 2006-06-26 17:43:05 -0400 |
commit | f42a100b2272bc5cb44fb2aa03526b436b1d6833 (patch) | |
tree | 37ca994cefc97bcfbf14491e1538fd2672df566a | |
parent | 6ff06a93916b3f95e83c346f7530cf2f5c68ae0c (diff) |
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: Kurt Hackel <kurt.hackel@oracle.com>
Signed-off-by: Mark Fasheh <mark.fasheh@oracle.com>
-rw-r--r-- | fs/ocfs2/dlm/dlmmaster.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/ocfs2/dlm/dlmmaster.c b/fs/ocfs2/dlm/dlmmaster.c index 915283fb48c3..2e371e06894f 100644 --- a/fs/ocfs2/dlm/dlmmaster.c +++ b/fs/ocfs2/dlm/dlmmaster.c | |||
@@ -2050,6 +2050,7 @@ static int dlm_pre_master_reco_lockres(struct dlm_ctxt *dlm, | |||
2050 | BUG(); | 2050 | BUG(); |
2051 | /* host is down, so answer for that node would be | 2051 | /* host is down, so answer for that node would be |
2052 | * DLM_LOCK_RES_OWNER_UNKNOWN. continue. */ | 2052 | * DLM_LOCK_RES_OWNER_UNKNOWN. continue. */ |
2053 | ret = 0; | ||
2053 | } | 2054 | } |
2054 | 2055 | ||
2055 | if (master != DLM_LOCK_RES_OWNER_UNKNOWN) { | 2056 | if (master != DLM_LOCK_RES_OWNER_UNKNOWN) { |