• Sunil Mushran's avatar
    ocfs2/cluster: Abort heartbeat start on hard-ro devices · d2eece37
    Sunil Mushran authored
    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: default avatarSunil Mushran <sunil.mushran@oracle.com>
    d2eece37
heartbeat.c 69.2 KB