Skip to content

Commit

Permalink
ocfs2/cluster: Abort heartbeat start on hard-ro devices
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Sunil Mushran committed Jul 24, 2011
1 parent b6844e8 commit d2eece3
Showing 1 changed file with 116 additions and 69 deletions.
Loading

0 comments on commit d2eece3

Please sign in to comment.