DragonFly commits List (threaded) for 2008-12
DragonFly BSD
DragonFly commits List (threaded) for 2008-12
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

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


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Wed, 10 Dec 2008 15:43:47 -0800 (PST)

commit cb63d1bc9eab45185cdc14bad4d3f7d116ed9ffa
Author: Matthew Dillon <dillon@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@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



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]