git: hammer2 - Cleanup pass, remove unused fields and code

Matthew Dillon dillon at crater.dragonflybsd.org
Mon Jul 24 19:21:52 PDT 2017


commit b5795b6b1140dd80b56f0aef154b4221f9024829
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Sat Jul 22 23:24:19 2017 -0700

    hammer2 - Cleanup pass, remove unused fields and code
    
    * Remove the unused per-inode cluster cache.  The code isn't really
      compatible with the XOP mechanism.
    
    * Remove unused hammer2_xop_nlink() and related structures.  Hardlinking
      is handled through normal hammer2_inode_*() functions and no longer
      needs an explicit backend.
    
    * Remove the unused iocb.cluster field.  iocb's are now exclusively
      backend entities.

Summary of changes:
 sys/vfs/hammer2/hammer2.h         |  11 ---
 sys/vfs/hammer2/hammer2_admin.c   |  21 +----
 sys/vfs/hammer2/hammer2_cluster.c |  44 ----------
 sys/vfs/hammer2/hammer2_inode.c   |  28 ------
 sys/vfs/hammer2/hammer2_io.c      |   2 -
 sys/vfs/hammer2/hammer2_xops.c    | 175 --------------------------------------
 6 files changed, 1 insertion(+), 280 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/b5795b6b1140dd80b56f0aef154b4221f9024829


-- 
DragonFly BSD source repository



More information about the Commits mailing list