DragonFly- master sys/kern vfs_subr.c

Matthew Dillon dillon at crater.dragonflybsd.org
Mon Jan 19 09:41:46 PST 2009

commit 1bb6119939711861a021ef2550a7a294db4cbf9a
Author: Matthew Dillon <dillon at 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
    Reported-by: "Justin C. Sherrill" <justin at shiningsilence.com>

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


DragonFly BSD source repository

More information about the Commits mailing list