hammer2 - Misc cluster protocol work
authorMatthew Dillon <dillon@apollo.backplane.com>
Sun, 15 Mar 2015 04:31:23 +0000 (21:31 -0700)
committerMatthew Dillon <dillon@apollo.backplane.com>
Sun, 15 Mar 2015 04:31:23 +0000 (21:31 -0700)
commitd157d4dc34bc87ae70888ac92a8fbf1ea662eabd
tree25f7976858a60f8e775624c295f8873fbfa06e13
parentd75d1dc9e556527b1784e6addb219fd9f4ff5168
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).
lib/libdmsg/msg_lnk.c
sbin/hammer2/main.c
sbin/mount_hammer2/mount_hammer2.c
sys/sys/dmsg.h
sys/vfs/hammer2/Makefile
sys/vfs/hammer2/hammer2.h
sys/vfs/hammer2/hammer2_bulkscan.c
sys/vfs/hammer2/hammer2_iocom.c [new file with mode: 0644]
sys/vfs/hammer2/hammer2_vfsops.c