DragonFly commits List (threaded) for 2012-08
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]
git: hammer2 hammer2 - Add peer_type field to LNK_CONN and LNK_SPAN
commit 2063f4d7f86db92463c7a0f971721a9f94d1ef14
Author: Matthew Dillon <dillon@apollo.backplane.com>
Date: Sat Aug 11 19:32:03 2012 -0700
hammer2 - Add peer_type field to LNK_CONN and LNK_SPAN
* Adds a peer_type field allowing connections to identify what they are
(i.e. a HAMMER2 mount, a CLUSTER controller, a BLOCK device controller).
Rename the pfs_type field in the volume header, which never made much
sense, to peer_type, which now does make sense though for the moment
the only value it can have is HAMER2_PEER_HAMMER2.
* Filter HAMMER2_PEER_HAMMER2 peer types by pfs_clid to reduce unnecessary
LNK_SPAN traffic being transmitted to a HAMMER2 mount (in the kernel).
* Minor cleanup.
Summary of changes:
sbin/hammer2/cmd_service.c | 10 +-
sbin/hammer2/msg_lnk.c | 214 ++++++++++++++++++++----------------
sbin/hammer2/network.h | 6 +-
sbin/newfs_hammer2/newfs_hammer2.c | 2 +
sys/vfs/hammer2/hammer2_disk.h | 14 ++-
sys/vfs/hammer2/hammer2_network.h | 31 +++++-
sys/vfs/hammer2/hammer2_vfsops.c | 3 +
7 files changed, 172 insertions(+), 108 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/2063f4d7f86db92463c7a0f971721a9f94d1ef14
--
DragonFly BSD source repository
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]