25d93b3 dlm_controld: always return error if the daemon is not ready to operate

1 file Authored by teigland 13 years ago, Committed by fabbione 13 years ago,
    dlm_controld: always return error if the daemon is not ready to operate
    
    This change allows dlm_tool to effectively poll dlm_controld for readiness.
    
    There is a short window while dlm_controld starts up and configures itself
    while it is effectively unable to operate properly.
    Applications starting immediatly after dlm_controld, and that don't check
    directly for this condition, could fail to start.
    
    By allowing dlm_tool to poll, we can introduced a controlled check
    in the cman init script to close to window and avoid any startup race condition.
    
    Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
    
        
file modified
+11 -0