khemraj / sanlock

Forked from sanlock 2 years ago
Clone

9841a4c sanlock: add_lockspace can connect to wdmd earlier

Authored and Committed by teigland 9 years ago
    sanlock: add_lockspace can connect to wdmd earlier
    
    Currently, add_lockspace will finish acquiring the
    delta lease, then connect to wdmd and activate the
    wdmd connection for the lockspace.  If wdmd was
    not running, the connect fails, and add_lockspace
    fails.  If we connect to wdmd before acquiring the
    delta lease, we can fail before the lengthy delta
    lease delay.
    
        
file modified
+1 -1
file modified
+18 -5
file modified
+1 -1
file modified
+23 -14
file modified
+7 -6