DragonFly commits List (threaded) for 2012-10
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]
git: hammer2 - Add server-side disk advertisements
commit 185ace9331437cc6a4344ddda4153972049dbc86
Author: Matthew Dillon <dillon@apollo.backplane.com>
Date: Thu Oct 25 16:00:47 2012 -0700
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.
Summary of changes:
lib/libdmsg/dmsg.h | 2 +
lib/libdmsg/msg_lnk.c | 22 +++-
lib/libdmsg/service.c | 2 +
sbin/hammer2/cmd_service.c | 111 +++++++++++++++++
sbin/hammer2/hammer2.h | 2 +
sys/conf/files | 1 +
sys/kern/kern_dmsg.c | 35 +++++-
sys/kern/subr_disk.c | 17 ++-
sys/kern/subr_diskiocom.c | 252 ++++++++++++++++++++++++++++++++++++++
sys/sys/disk.h | 15 ++-
sys/sys/diskslice.h | 7 +-
sys/sys/dmsg.h | 4 +-
sys/vfs/hammer2/hammer2_vfsops.c | 34 +-----
13 files changed, 456 insertions(+), 48 deletions(-)
create mode 100644 sys/kern/subr_diskiocom.c
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/185ace9331437cc6a4344ddda4153972049dbc86
--
DragonFly BSD source repository
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]