]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
If the lock passed to getdirtybuf() is the softdep lock then the background
authortegge <tegge@FreeBSD.org>
Mon, 9 Jan 2006 19:32:21 +0000 (19:32 +0000)
committertegge <tegge@FreeBSD.org>
Mon, 9 Jan 2006 19:32:21 +0000 (19:32 +0000)
commitcecb9f6b7be918ffcd172fb9edabcef2556d94ad
tree3a11a58e06c62590cb770b351cc82401b75c602c
parent0c586bcaf4832a0c517c967ae2b98e63f3bf473b
If the lock passed to getdirtybuf() is the softdep lock then the background
write completed wakeup could be missed.  Close the race by grabbing the lock
normally used for protection of bp->b_xflags.

Reviewed by: truckman
sys/ufs/ffs/ffs_softdep.c