39b5c32 - fix cmirror bugs

Authored and Committed by Jonathan Brassow 18 years ago
    - fix cmirror bugs
    
    - Only allow one machine to perform resync work
      There must be a race in there somewhere when allowing multiple
      simultaneous recoveries...  This side-steps that issue.  Besides
      one machine moving the heads is probably better than all.
    
    - when a resync is done, we must mark it in the clean list as well
      as the sync list.  Otherwise, the log will always tell us there
      is recovery to be done - even if there isn't.
    
    - Only suspend the server on cluster events - not dm suspends.  If
      we flush the clients before returning from the suspend, the server
      will do nothing anyway.
    
    - fix typo
    
    - clean up logging
    
    - take the code that connects to cman out of the init function and
      do it on first mirror activation.  This way, you don't have to
      have cman running in order to load the module...  Makes mirror
      activation a bit slower, but speeds up module loading.