git: hammer2 hammer2 - Implement automatic reconnect

Matthew Dillon dillon at crater.dragonflybsd.org
Sat Aug 11 15:07:39 PDT 2012


commit eae0d6908e9aab06332f95a05ffc3f0c9771aab1
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Sat Aug 11 15:04:54 2012 -0700

    hammer2 - Implement automatic reconnect
    
    * Somehow the actual commit wound up in a merge
      e1648a68d2a340848f1c8ec7bd695c6285927392.
    
    * When the hammer2 service daemon starts it now scans all hammer2 mount
      points and attempts to reconnect itself to each one.
    
      This allows the sysop to kill the hammer2 service daemon, which will
      remote the machine's mounts from the cluster, and then later restart
      it to add the machine's mounts back into the cluster.
    
    * Fix a pthread detachment bug.  Some pthreads are not tracked and have
      to detach themselves to avoid a libpthread memory leak.

Summary of changes:
 sbin/hammer2/cmd_service.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/eae0d6908e9aab06332f95a05ffc3f0c9771aab1


-- 
DragonFly BSD source repository





More information about the Commits mailing list