git: hammer2 - Retool dmsg mechanics to improve virtual circuit design 2/2

Matthew Dillon dillon at crater.dragonflybsd.org
Sun May 4 20:03:35 PDT 2014


commit d30cab67fe1261f18180e4ebf5f27002e2a28acc
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Sun May 4 19:52:05 2014 -0700

    hammer2 - Retool dmsg mechanics to improve virtual circuit design 2/2
    
    * Use transaction stacking to effectively connect resources to consumers.
      Issuing a transaction over a received SPAN effectively creates a virtual
      circuit to the originator.
    
    * The hammer2 service demon (userland) is currently being used to route,
      but direct kernel<->kernel socket connections are now theoretically
      possible for later performance work.  Current performance is going
      to be low due to layering.
    
    * Get subr_diskiocom and the xdisk driver mostly working again.  The
      code is a lot cleaner but still needs considerable stability work and
      better unwinding during failure conditions.
    
    * Start work on hammer2<->hammer2 communications.

Summary of changes:
 lib/libdmsg/dmsg.h         |   12 +-
 lib/libdmsg/dmsg_local.h   |    2 +
 lib/libdmsg/msg.c          |  318 ++++++++------
 lib/libdmsg/msg_lnk.c      |   50 ++-
 lib/libdmsg/service.c      |   12 +-
 lib/libdmsg/subs.c         |    3 +
 sbin/hammer2/cmd_debug.c   |    1 -
 sbin/hammer2/cmd_service.c |  170 ++------
 sbin/hammer2/hammer2.h     |    1 +
 sys/dev/disk/xdisk/xdisk.c | 1015 ++++++++++++++++++++++----------------------
 sys/kern/kern_dmsg.c       |    5 +-
 sys/kern/subr_diskiocom.c  |    3 +-
 sys/sys/dmsg.h             |   21 +-
 sys/sys/xdiskioctl.h       |    5 -
 14 files changed, 826 insertions(+), 792 deletions(-)

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


-- 
DragonFly BSD source repository



More information about the Commits mailing list