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

DragonFly-2.1.1.434.g1bb61 master sys/kern vfs_subr.c


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Mon, 19 Jan 2009 09:40:30 -0800 (PST)

commit 1bb6119939711861a021ef2550a7a294db4cbf9a
Author: Matthew Dillon <dillon@apollo.backplane.com>
Date:   Mon Jan 19 09:38:27 2009 -0800

    Fix a bug in vinvalbuf().  vinvalbuf() is usually called when attempting
    to reclaim a vnode but can sometimes be called with V_SAVE when attempting
    to make a vnode reclaimable.  In the latter case write races with other
    threads can create new dirty buffers after the FSYNC returns.
    
    Only assert that dirty buffers are not present if the vnode is undergoing
    reclamation.
    
    Reported-by: "Justin C. Sherrill" <justin@shiningsilence.com>

Summary of changes:
 sys/kern/vfs_subr.c |   13 +++++++++++--
 1 files changed, 11 insertions(+), 2 deletions(-)

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


-- 
DragonFly BSD source repository



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