git: hammer2 hammer2 - wire up msg transaction state machine
Matthew Dillon
dillon at crater.dragonflybsd.org
Tue Jun 12 18:47:14 PDT 2012
commit 26bf1a3684f1458a52caf29eaa96eba1f99c1703
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date: Tue Jun 12 18:43:32 2012 -0700
hammer2 - wire up msg transaction state machine
* Wire up the msg transaction state machine. Split hammer2_msg into
hammer2_state and hammer2_msg. Track states in two RB trees in the
hammer2_pfsmount structure.
Handle CREATE, DELETE, ABORT, and REPLY flags.
* Revamp the API. The adjustments make it less likely that messages can
be left dangling.
* Compile only, untested, not yet operational.
Summary of changes:
sys/vfs/hammer2/Makefile | 2 +-
sys/vfs/hammer2/hammer2.h | 62 ++++-
sys/vfs/hammer2/hammer2_msg.c | 604 +++++++++++++++++++++++++++++++++++++
sys/vfs/hammer2/hammer2_network.h | 115 ++-----
sys/vfs/hammer2/hammer2_vfsops.c | 197 ++++++++++++-
5 files changed, 887 insertions(+), 93 deletions(-)
create mode 100644 sys/vfs/hammer2/hammer2_msg.c
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/26bf1a3684f1458a52caf29eaa96eba1f99c1703
--
DragonFly BSD source repository
More information about the Commits
mailing list