DragonFly BSD
DragonFly commits List (threaded) for 2012-08
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

git: hammer2 hammer2 - SPAN protocol work


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Tue, 7 Aug 2012 21:34:07 -0700 (PDT)

commit 02454b3e8645dc6a4eab40490ef946de38868c98
Author: Matthew Dillon <dillon@apollo.backplane.com>
Date:   Tue Aug 7 21:28:40 2012 -0700

    hammer2 - SPAN protocol work
    
    * Initial implementation of the LNK_SPAN protocol between two hammer
      service daemons running on different machines.  There's still lots to do.
    
      mount x P PFSs (P pipes)	(machine A)
    	|
      service daemon 		(machine A) (handling P + 1 connections)
    	|
      INET SOCKET
    	|
      service daemon		(machine B) (handling Q + 1 connections)
    	|
      mount x Q PFSs (Q pipes)	(machine B)
    
    * Service deamons starts with LNK_CONN and then interconnect SPANs.
    
    * SPAN protocol allows any number of connections between services daemons and
      from service daemons to physical HAMMER2 mounts.
    
    * Fixed a message write() sequencing bug
    
    * Added some additional debug directives, and also added a remote debug
      directive to connect from one already-running service daemon to another.

Summary of changes:
 sbin/hammer2/cmd_debug.c   |   96 ++++++++++++++++++++++++++++----------------
 sbin/hammer2/cmd_service.c |    4 +-
 sbin/hammer2/crypto.c      |   39 +++++++++++++++++-
 sbin/hammer2/hammer2.h     |    7 +++-
 sbin/hammer2/icrc.c        |    2 +-
 sbin/hammer2/main.c        |   12 +++++
 sbin/hammer2/msg.c         |   77 ++++++++++++++++++++---------------
 sbin/hammer2/msg_lnk.c     |   41 ++++++++++++-------
 sbin/hammer2/network.h     |    3 +
 sbin/hammer2/subs.c        |   45 ++++++++++++++++++++
 10 files changed, 238 insertions(+), 88 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/02454b3e8645dc6a4eab40490ef946de38868c98


-- 
DragonFly BSD source repository



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]