]> err.no Git - linux-2.6/commitdiff
ocfs2: have dlm_pre_master_reco_lockres() ignore dead nodes
authorKurt Hackel <kurt.hackel@oracle.com>
Mon, 1 May 2006 18:53:33 +0000 (11:53 -0700)
committerMark Fasheh <mark.fasheh@oracle.com>
Mon, 26 Jun 2006 21:43:05 +0000 (14:43 -0700)
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>
fs/ocfs2/dlm/dlmmaster.c

index 915283fb48c3de42a2865d54d344593e87d609d6..2e371e06894f0c7f04ad800558bf4c2d04e3a7d3 100644 (file)
@@ -2050,6 +2050,7 @@ static int dlm_pre_master_reco_lockres(struct dlm_ctxt *dlm,
                                BUG();
                        /* host is down, so answer for that node would be
                         * DLM_LOCK_RES_OWNER_UNKNOWN.  continue. */
+                       ret = 0;
                }
 
                if (master != DLM_LOCK_RES_OWNER_UNKNOWN) {