git: hammer2 - flush sequencing part 2

Matthew Dillon dillon at crater.dragonflybsd.org
Sun May 5 12:38:24 PDT 2013


commit 4a59bd3e9fd6b08d1f28c7af83d86367d249e45f
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Sat May 4 11:14:20 2013 -0700

    hammer2 - flush sequencing part 2
    
    * API adjustments.  Add trans to setsubmod and pass &chain to
      hammer2_chain_modify() so it can (soon) modify/duplicate and
      return a different chain.
    
    * Tentitively add flush_tid tracking to the hmp which will
      soon be used by the modify code to determine when a duplication
      is required.

Summary of changes:
 sys/vfs/hammer2/hammer2.h        |  7 +++--
 sys/vfs/hammer2/hammer2_chain.c  | 57 +++++++++++++++++++++-------------------
 sys/vfs/hammer2/hammer2_flush.c  | 33 ++++++++++++++++++++---
 sys/vfs/hammer2/hammer2_inode.c  | 23 +++++++++-------
 sys/vfs/hammer2/hammer2_ioctl.c  |  3 ++-
 sys/vfs/hammer2/hammer2_vfsops.c |  3 ++-
 sys/vfs/hammer2/hammer2_vnops.c  | 34 +++++++++---------------
 7 files changed, 95 insertions(+), 65 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/4a59bd3e9fd6b08d1f28c7af83d86367d249e45f


-- 
DragonFly BSD source repository



More information about the Commits mailing list