git: hammer2 - Misc cluster protocol work

Matthew Dillon dillon at crater.dragonflybsd.org
Sat Mar 14 21:36:37 PDT 2015


commit d157d4dc34bc87ae70888ac92a8fbf1ea662eabd
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Sat Mar 14 21:31:23 2015 -0700

    hammer2 - Misc cluster protocol work
    
    * Adjust debugging a bit so hammer2 -d bumps DMsgDebugOpt to sucessively
      higher values.
    
    * mount_hammer2 now connects the hammer2 service daemon to the mount
      via localhost instead of via 0 (0 does not bind to localhost if the
      machine has an IP address).  Allows differentiation between remote
      connections and local connections.
    
    * Begin splitting the dmsg iocom stuff off from vfsops.c in the hammer2 VFS
      and test.
    
    * Issue SPANs relative to state0 rather than the LNK_CONN state in the hammer2
      VFS, to match how SPANs are implemented in the service demon.
    
    * Recognize remote HAMMER2 filesystem SPANs (but don't do anything with them
      yet).
    
    * Fix a brace bug in hammer2_bulkscan.c (from swildner).

Summary of changes:
 lib/libdmsg/msg_lnk.c              |   2 +
 sbin/hammer2/main.c                |   2 +-
 sbin/mount_hammer2/mount_hammer2.c |   2 +-
 sys/sys/dmsg.h                     |   3 +
 sys/vfs/hammer2/Makefile           |   2 +-
 sys/vfs/hammer2/hammer2.h          |   8 +-
 sys/vfs/hammer2/hammer2_bulkscan.c |   3 +-
 sys/vfs/hammer2/hammer2_iocom.c    | 371 +++++++++++++++++++++++++++++++++++++
 sys/vfs/hammer2/hammer2_vfsops.c   | 271 +--------------------------
 9 files changed, 395 insertions(+), 269 deletions(-)
 create mode 100644 sys/vfs/hammer2/hammer2_iocom.c

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


-- 
DragonFly BSD source repository



More information about the Commits mailing list