DragonFly-2.1.1.38.gcb63d1 master sys/dev/disk/vn vn.c sys/sys vnode.h sys/vfs/hammer hammer_vnops.c

Matthew Dillon dillon at crater.dragonflybsd.org
Wed Dec 10 15:44:23 PST 2008


commit cb63d1bc9eab45185cdc14bad4d3f7d116ed9ffa
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Wed Dec 10 10:27:32 2008 -0800

    Fix a buffer cache deadlock which can occur when simulated disk devices
    (VN) are backed by a HAMMER file.  Do not call bwillwrite() via the
    VN->VOP_WRITE->HAMMER path.
    
    Add a new IO_RECURSE flag to identify paths for which bwillwrite() should
    never be called.
    
    Reported-by: Rumko <rumcic at gmail.com>

Summary of changes:
 sys/dev/disk/vn/vn.c          |    4 ++--
 sys/sys/vnode.h               |    2 +-
 sys/vfs/hammer/hammer_vnops.c |    7 +++++--
 3 files changed, 8 insertions(+), 5 deletions(-)

http://gitweb.dragonflybsd.org/?p=dragonfly.git;a=commitdiff;h=cb63d1bc9eab45185cdc14bad4d3f7d116ed9ffa


-- 
DragonFly BSD source repository





More information about the Commits mailing list