git: hammer2 - Refactor frontend part 13/many

Matthew Dillon dillon at crater.dragonflybsd.org
Fri Jun 26 19:16:33 PDT 2015


commit 12ff971ce481ccbabcd6957c3c415426e2548cd5
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Thu Jun 25 22:53:23 2015 -0700

    hammer2 - Refactor frontend part 13/many
    
    * Fix improper unlock in xop_scanlhc.
    
    * Move the flush sequencing to the XOP backend.
    
    * Make a kmalloc'd copy of the namecache name for backends still
      in-progress when the frontend returns (we will need to do something
      similar for bio data too).
    
    * Do not pass the nch to hammer2_unlink_file(), pass more portable
      integer state instead.

Summary of changes:
 sys/vfs/hammer2/TODO             |   2 +
 sys/vfs/hammer2/hammer2.h        |  16 ++--
 sys/vfs/hammer2/hammer2_flush.c  | 162 +++++++++++++++++++++++++++++++++++
 sys/vfs/hammer2/hammer2_inode.c  | 110 +++++++++++++++++++-----
 sys/vfs/hammer2/hammer2_ioctl.c  |   2 +-
 sys/vfs/hammer2/hammer2_thread.c |   7 +-
 sys/vfs/hammer2/hammer2_vfsops.c | 181 ++++-----------------------------------
 sys/vfs/hammer2/hammer2_vnops.c  |  17 ++--
 sys/vfs/hammer2/hammer2_xops.c   |  94 ++++----------------
 9 files changed, 314 insertions(+), 277 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/12ff971ce481ccbabcd6957c3c415426e2548cd5


-- 
DragonFly BSD source repository



More information about the Commits mailing list