]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Because cylinder group blocks are now written in background,
authorKirk McKusick <mckusick@FreeBSD.org>
Thu, 13 Jan 2000 07:20:01 +0000 (07:20 +0000)
committerKirk McKusick <mckusick@FreeBSD.org>
Thu, 13 Jan 2000 07:20:01 +0000 (07:20 +0000)
commit1c2ceb28808bb572cc88121aa451272fcaecca08
treeda56c079357384bcb2d7d1309f993cdc3b6662c9
parent94313add1fca33715d188fb0f2e8624004a05f0c
Because cylinder group blocks are now written in background,
it is no longer sufficient to get a lock on a buffer to know
that its write has been completed. We have to first get the
lock on the buffer, then check to see if it is doing a
background write. If it is doing background write, we have
to wait for the background write to finish, then check to see
if that fullfilled our dependency, and if not to start another
write. Luckily the explanation is longer than the fix.
sys/contrib/softupdates/ffs_softdep.c
sys/ufs/ffs/ffs_softdep.c