git: hammer2 - GSOC cleanup pass

Matthew Dillon dillon at crater.dragonflybsd.org
Wed Sep 18 21:03:55 PDT 2013


commit 1e5c08ba299894fc555357217c213ef88f06ae37
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Wed Sep 18 21:01:45 2013 -0700

    hammer2 - GSOC cleanup pass
    
    * Cleanup some syntax and convert // comments in core source files.
      Remove _t suffix on static compression type procedures, make a
      few variable names shorter, etc.
    
    * Used in-memory hammer2_inode->comp_heuristic instead of the on-media
      ipdata->reserved85 field for the compression heuristic.  It doesn't
      need to be recorded on-media.
    
    * If the write thread encounters an I/O error, flag the original logical
      bp with the error and continue rather than breaking out and killing
      the write thread.

Summary of changes:
 sys/vfs/hammer2/hammer2.h        |   1 +
 sys/vfs/hammer2/hammer2_inode.c  |  13 +-
 sys/vfs/hammer2/hammer2_vfsops.c | 256 ++++++++++++++++++++++-----------------
 sys/vfs/hammer2/hammer2_vnops.c  |   4 +-
 4 files changed, 160 insertions(+), 114 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/1e5c08ba299894fc555357217c213ef88f06ae37


-- 
DragonFly BSD source repository



More information about the Commits mailing list