git: hammer2 - Fix *errorp, instrument strategy errors

Matthew Dillon dillon at crater.dragonflybsd.org
Fri Jun 10 21:15:18 PDT 2016


commit f207acf3218304e1686b3f24f2a06beed598b8fa
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Fri Jun 10 19:46:08 2016 -0700

    hammer2 - Fix *errorp, instrument strategy errors
    
    * Instrument strategy call errors
    
    * Instrument a number of errors with console messages
    
    * Pre-zero *errorp in hammer2_write_file_core()
    
    * Set trivial in hammer2_write_file() if lbase at or beyond the file EOF.
    
    * use uiomovebp() to avoid mmap()/read() and mmap()/write() deadlocks.

Summary of changes:
 sys/vfs/hammer2/hammer2_chain.c    |  8 ++++++++
 sys/vfs/hammer2/hammer2_io.c       |  4 +++-
 sys/vfs/hammer2/hammer2_strategy.c | 20 ++++++++++++++++---
 sys/vfs/hammer2/hammer2_vnops.c    | 39 +++++++++++++++++++++++++++++++++++---
 4 files changed, 64 insertions(+), 7 deletions(-)

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


-- 
DragonFly BSD source repository


More information about the Commits mailing list