hammer2 - Add server-side disk advertisements
authorMatthew Dillon <dillon@apollo.backplane.com>
Thu, 25 Oct 2012 23:00:47 +0000 (16:00 -0700)
committerMatthew Dillon <dillon@apollo.backplane.com>
Thu, 25 Oct 2012 23:00:47 +0000 (16:00 -0700)
commit185ace9331437cc6a4344ddda4153972049dbc86
tree1b8911a27982bed1a75859c8bd2c752bfabe6fff
parenta789299f080c13860d6e6dcd0cfe48edf2c1ee16
hammer2 - Add server-side disk advertisements

* The hammer2 service demon now tracks disks and connects the cluster
  controller to each one.

* Add a new ioctl to the subr_disk subsystem and add subr_diskiocom.c
  to implement it, associating a cluster controller messaging descriptor
  with a disk device.

* disk device initiates LNK_CONN and LNK_SPAN.  Disk block devices now
  advertised through the spanning tree.  Nothing else implemented yet.
13 files changed:
lib/libdmsg/dmsg.h
lib/libdmsg/msg_lnk.c
lib/libdmsg/service.c
sbin/hammer2/cmd_service.c
sbin/hammer2/hammer2.h
sys/conf/files
sys/kern/kern_dmsg.c
sys/kern/subr_disk.c
sys/kern/subr_diskiocom.c [new file with mode: 0644]
sys/sys/disk.h
sys/sys/diskslice.h
sys/sys/dmsg.h
sys/vfs/hammer2/hammer2_vfsops.c