git: hammer2 - Refactor frontend part 12/many

Matthew Dillon dillon at crater.dragonflybsd.org
Thu Jun 25 19:48:22 PDT 2015


commit d34788efdbe405700119691aafed6cd12829bbfd
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Thu Jun 25 19:43:31 2015 -0700

    hammer2 - Refactor frontend part 12/many
    
    * Refactor the strategy_write code to use the XOP interface.
      The new strategy_write uses the standard XOP interface to distribute
      BIOs to XOP threads.  As with the read code, this also tends to
      distribute the compression across available cpus.
    
    * Get rid of the dedicated BIO threading code (wthread* in hammer2_pfs).

Summary of changes:
 sys/vfs/hammer2/TODO               |  12 +
 sys/vfs/hammer2/hammer2.h          |  14 +-
 sys/vfs/hammer2/hammer2_chain.c    |  10 +
 sys/vfs/hammer2/hammer2_flush.c    |   5 +-
 sys/vfs/hammer2/hammer2_inode.c    |   6 +
 sys/vfs/hammer2/hammer2_strategy.c | 483 +++++++++++++++++--------------------
 sys/vfs/hammer2/hammer2_vfsops.c   |  43 +---
 sys/vfs/hammer2/hammer2_vnops.c    |  14 +-
 sys/vfs/hammer2/hammer2_xops.c     |  17 +-
 9 files changed, 296 insertions(+), 308 deletions(-)

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


-- 
DragonFly BSD source repository


More information about the Commits mailing list