git: hammer2 - Embed cache_index heuristic in chain structure

Matthew Dillon dillon at crater.dragonflybsd.org
Wed Aug 30 22:19:12 PDT 2017


commit 2b8f3e7ec3443f35fdaf2f55362bf2db5d9cc640
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Wed Aug 30 19:49:29 2017 -0700

    hammer2 - Embed cache_index heuristic in chain structure
    
    * Embed the cache_index heuristic in the hammer2_chain structure and get
      rid of all the code that passed it in to various API functions.  This
      substantially cleans-up the API.
    
    * Adjust comments for upcoming error handling work.

Summary of changes:
 sys/vfs/hammer2/hammer2.h          |  15 +++---
 sys/vfs/hammer2/hammer2_bulkfree.c |   4 --
 sys/vfs/hammer2/hammer2_chain.c    | 101 ++++++++++++++++++-------------------
 sys/vfs/hammer2/hammer2_flush.c    |   9 ++--
 sys/vfs/hammer2/hammer2_freemap.c  |   4 --
 sys/vfs/hammer2/hammer2_inode.c    |  15 ++----
 sys/vfs/hammer2/hammer2_iocom.c    |   3 --
 sys/vfs/hammer2/hammer2_ioctl.c    |   7 ---
 sys/vfs/hammer2/hammer2_strategy.c |   6 ---
 sys/vfs/hammer2/hammer2_synchro.c  |   7 ---
 sys/vfs/hammer2/hammer2_vfsops.c   |  17 +++----
 sys/vfs/hammer2/hammer2_xops.c     |  31 ++----------
 12 files changed, 72 insertions(+), 147 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/2b8f3e7ec3443f35fdaf2f55362bf2db5d9cc640


-- 
DragonFly BSD source repository



More information about the Commits mailing list