0d816d9 sanlock: retry transient sh failures

Authored and Committed by teigland 13 years ago
    sanlock: retry transient sh failures
    
    Because acquiring a shared lease includes holding
    the lease in ex for a short period, multiple hosts
    trying to acquire the sh lease in parallel can see
    transient failures.  Detect this situation and
    retry the sh acquire up to eight times.
    
    Signed-off-by: David Teigland <teigland@redhat.com>
    
        
file modified
+2 -1
file modified
+3 -1
file modified
+2 -0
file modified
+21 -0
file modified
+1 -0
file modified
+31 -5
file modified
+1 -1
file modified
+2 -0
file modified
+1 -0