ocfs2/cluster: Cluster up now includes network connections too
authorSunil Mushran <sunil.mushran@oracle.com>
Sun, 24 Jul 2011 17:33:54 +0000 (10:33 -0700)
committerSunil Mushran <sunil.mushran@oracle.com>
Sun, 24 Jul 2011 17:33:54 +0000 (10:33 -0700)
commit6b27f62fc750d85bc6fc3718b3b38ec60edc2d74
tree8046b9a0b55ceb282a3b1d9afd35a4c4fb8e1727
parent3ba169ccec1c5ad0f678e04fd29b990197fdfe79
ocfs2/cluster: Cluster up now includes network connections too

The cluster up check only checks to see if the node is heartbeating or not.
If yes it continues assuming that the node is connected to all the nodes. But
if that is not the case, the cluster join aborts with a stack of errors that
are not easy to comprehend.

This patch adds the network connect check upfront and prints the nodes that
the node is not yet connected to, before aborting.

Signed-off-by: Sunil Mushran <sunil.mushran@oracle.com>
fs/ocfs2/dlm/dlmdomain.c
fs/ocfs2/stack_o2cb.c