git: hammer2 - Refactor frontend part 17

Matthew Dillon dillon at crater.dragonflybsd.org
Sun Jun 28 17:01:43 PDT 2015


commit 01d71aa5538cba09383737ddbea2fb05e1e75e78
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Sun Jun 28 16:49:48 2015 -0700

    hammer2 - Refactor frontend part 17
    
    This ends the major refactoring.  All major cluster ops have been converted
    to XOPs.  The new XOP APIs will be stabilized in subsequent commits, issues
    will primarily be slave scan deadlocks.
    
    * Refactor the fsync and slave scan code to use the XOP interface.
    
    * Cleanup hammer2_cluster.c, removing numerous functions which are no
      longer used.

Summary of changes:
 sys/vfs/hammer2/DESIGN            |  22 +-
 sys/vfs/hammer2/hammer2.h         |  94 ++---
 sys/vfs/hammer2/hammer2_chain.c   | 100 ++++-
 sys/vfs/hammer2/hammer2_cluster.c | 642 +---------------------------
 sys/vfs/hammer2/hammer2_inode.c   | 271 +++++++-----
 sys/vfs/hammer2/hammer2_iocom.c   |  43 +-
 sys/vfs/hammer2/hammer2_ioctl.c   | 127 ++++--
 sys/vfs/hammer2/hammer2_thread.c  | 856 +++++++++++++++++++-------------------
 sys/vfs/hammer2/hammer2_vfsops.c  | 156 ++++---
 sys/vfs/hammer2/hammer2_vnops.c   |  20 +-
 sys/vfs/hammer2/hammer2_xops.c    |  64 ++-
 11 files changed, 1025 insertions(+), 1370 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/01d71aa5538cba09383737ddbea2fb05e1e75e78


-- 
DragonFly BSD source repository



More information about the Commits mailing list