git: hammer2 hammer2 - Implement automatic reconnect

Matthew Dillon dillon at
Sat Aug 11 15:07:39 PDT 2012

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

    hammer2 - Implement automatic reconnect
    * Somehow the actual commit wound up in a merge
    * 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(-)

DragonFly BSD source repository

More information about the Commits mailing list