DragonFly-2.1.1.434.g1bb61 DragonFly_RELEASE_2_2 sys/kern vfs_subr.c
Simon Schubert
corecode at crater.dragonflybsd.org
Tue Feb 3 11:17:17 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
reclamation.
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(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/1bb6119939711861a021ef2550a7a294db4cbf9a
--
DragonFly BSD source repository
More information about the Commits
mailing list