hammer2 - spanning tree and messaging work
authorMatthew Dillon <dillon@apollo.backplane.com>
Tue, 7 Aug 2012 19:40:24 +0000 (12:40 -0700)
committerMatthew Dillon <dillon@apollo.backplane.com>
Tue, 7 Aug 2012 19:40:24 +0000 (12:40 -0700)
commit7dc0f844a404685d76d02c79c241ad11234db455
tree15680de23fd8b59d3f0f9687acdbffd2d5775cdf
parent32d5150131df4d1083950ddb53b0e0c0dee9dda1
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.
sbin/hammer2/cmd_debug.c
sbin/hammer2/cmd_service.c
sbin/hammer2/hammer2.h
sbin/hammer2/main.c
sbin/hammer2/msg.c
sbin/hammer2/msg_lnk.c
sbin/hammer2/network.h