hammer2 - dmsg blockdev work
authorMatthew Dillon <dillon@apollo.backplane.com>
Fri, 26 Oct 2012 02:57:12 +0000 (19:57 -0700)
committerMatthew Dillon <dillon@apollo.backplane.com>
Fri, 26 Oct 2012 02:57:12 +0000 (19:57 -0700)
commitddfbb28327b89895f22ccf4c10952e6a0e2ca5de
treebe633966d62d20099523625659e83961a86fb9d2
parent6e837288ef6f713698fc5f156655184ff4cd1a88
hammer2 - dmsg blockdev work

* Adjust the LNK_CONN and LNK_SPAN messages to provide a cluster label
  and a filesystem label instead of just a filesystem label.

* Change the cluster controller to index clusters based on the
  peer_type, pfs_clid, and cl_label instead of just the pfs_clid.

  HAMMER2 PFS's are primarily identified by pfs_clid and unique nodes
  are identified by pfs_fsid.  fs_label holds the HAMMER2 super-root
  name.

  BLOCK devices are primarily identified by cl_label and unique nodes
  are identified by pfs_fsid.  pfs_clid and fs_label are empty.

* Adjust the cluster controller's matching filters such that, e.g.
  BLOCK device clients only have visibility to the BLOCK device server
  for the cl_label in question, and do not have visibility to other
  BLOCK device clients.

* Flesh out the hammer2 service daemons disk monitoring, have it attach
  a pipe to the in-kernel disk via an ioctl().

* Continued work on the skeleton network disk exporter (kern/subr_disk*) and
  network disk importer (dev/disk/xdisk/*).  xdisk has not been added to the
  build yet.

* Move a few more definitions from HAMMER2 to DMSG.
lib/libdmsg/msg_lnk.c
sbin/hammer2/cmd_debug.c
sys/dev/disk/xdisk/Makefile [new file with mode: 0644]
sys/dev/disk/xdisk/xdisk.c [new file with mode: 0644]
sys/kern/kern_dmsg.c
sys/kern/subr_diskiocom.c
sys/sys/dmsg.h
sys/sys/xdiskioctl.h [new file with mode: 0644]
sys/vfs/hammer2/hammer2_disk.h
sys/vfs/hammer2/hammer2_vfsops.c