git: hammer2 hammer2 - spanning tree and messaging work

Matthew Dillon dillon at
Tue Aug 7 12:45:01 PDT 2012

commit 7dc0f844a404685d76d02c79c241ad11234db455
Author: Matthew Dillon <dillon at>
Date:   Tue Aug 7 12:40:24 2012 -0700

    hammer2 - spanning tree and messaging work
    * Fix numerous bugs and cleanup the messaging infrastructure further.
      Fix issues with state tracking and incorrect message flags, assert that
      flags are correct.
    * Fix issues with connection termination.  All active transactions must be
      completely closed from both ends before the iocom can be destroyed.
      Fix bugs in the MSGF_DELETE message simulator when a socket error occurs
      (simulating the other end closing any active transactions going over
      the iocom).
    * Implement the spanning tree relay code.  The relay code is even relatively
      optimal though ultimately we need to add additional filters to make
      client<->service rendezvous's less cpu intensive.

Summary of changes:
 sbin/hammer2/cmd_debug.c   |   10 +-
 sbin/hammer2/cmd_service.c |    2 +-
 sbin/hammer2/hammer2.h     |    6 +-
 sbin/hammer2/main.c        |   21 ++
 sbin/hammer2/msg.c         |  620 ++++++++++++++++++++++++++------------------
 sbin/hammer2/msg_lnk.c     |  300 ++++++++++++++++++---
 sbin/hammer2/network.h     |   12 +-
 7 files changed, 670 insertions(+), 301 deletions(-)

DragonFly BSD source repository

More information about the Commits mailing list