hammer2 - wire up msg transaction state machine
authorMatthew Dillon <dillon@apollo.backplane.com>
Wed, 13 Jun 2012 01:43:32 +0000 (18:43 -0700)
committerMatthew Dillon <dillon@apollo.backplane.com>
Wed, 13 Jun 2012 01:43:32 +0000 (18:43 -0700)
commit26bf1a3684f1458a52caf29eaa96eba1f99c1703
tree768e1c31c9a3f2b542b5f9027367d900aa8db318
parent063b119abbc0884b488a4191f800cf331c3be529
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.
sys/vfs/hammer2/Makefile
sys/vfs/hammer2/hammer2.h
sys/vfs/hammer2/hammer2_msg.c [new file with mode: 0644]
sys/vfs/hammer2/hammer2_network.h
sys/vfs/hammer2/hammer2_vfsops.c