DragonFly BSD
DragonFly commits List (threaded) for 2012-06
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

git: hammer2 hammer2 - wire up msg transaction state machine


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Tue, 12 Jun 2012 18:47:14 -0700 (PDT)

commit 26bf1a3684f1458a52caf29eaa96eba1f99c1703
Author: Matthew Dillon <dillon@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



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]