summaryrefslogtreecommitdiff
path: root/fs/ocfs2/cluster/tcp.c
diff options
context:
space:
mode:
authorSunil Mushran <sunil.mushran@oracle.com>2011-07-24 10:21:54 -0700
committerSunil Mushran <sunil.mushran@oracle.com>2011-07-24 10:21:54 -0700
commitd2eece376648d2f7ba0a7d78f3c4d0421e608ac2 (patch)
tree6d43ac36bcbdf01f544027ec5d2c1427411ab498 /fs/ocfs2/cluster/tcp.c
parentb6844e8f64920cdee620157252169ba63afb0c89 (diff)
ocfs2/cluster: Abort heartbeat start on hard-ro devices
Currently if the heartbeat device is hard-ro, the o2hb thread keeps chugging along and dumping errors along the way. The user needs to manually stop the heartbeat. The patch addresses this shortcoming by adding a limit to the number of times the hb thread will iterate in an unsteady state. If the hb thread does not ready steady state in that many interation, the start is aborted. Signed-off-by: Sunil Mushran <sunil.mushran@oracle.com>
Diffstat (limited to 'fs/ocfs2/cluster/tcp.c')
0 files changed, 0 insertions, 0 deletions