b18e2dc sanlock: use thread pool

Authored and Committed by teigland 13 years ago
    sanlock: use thread pool
    
    instead of creating a new transient thread to handle each cmd.
    The worker thread max also naturally prevents too much disk i/o
    due to trying to acquire too many leases at once.  Modeled after
    www.redhat.com/archives/libvir-list/2010-November/msg00754.html
    
        
file modified
+164 -69
file modified
+3 -0