diff options
author | bde <bde@FreeBSD.org> | 1998-10-03 16:19:28 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 1998-10-03 16:19:28 +0000 |
commit | e7b28f3337e3b7d487743f78ea128e5b1ab4795c (patch) | |
tree | 8faed07109d1c7c53eb732b71785b8b5248855de /bin/date | |
parent | 054b0e3c44d5cc0a07937d0759a73b6649bfa51b (diff) | |
download | FreeBSD-src-e7b28f3337e3b7d487743f78ea128e5b1ab4795c.zip FreeBSD-src-e7b28f3337e3b7d487743f78ea128e5b1ab4795c.tar.gz |
Quick fix for not being able to sync all the buffers in boot() if
an ext2fs file system is mounted. The soft update changes added
a check for B_DELWRI buffers. This exposed the complete brokenness
of the previous quick fix for failing syncs (PR 3571, committed on
1997/08/04). Use a new buffer flag B_DIRTY and don't abuse B_DELWRI.
B_DIRTY buffers are still written too late, as broken in the previous
fix. This is fairly harmless, because B_DIRTY is only used for
bitmap buffers and fsck.ext2 can fix up the bitmaps perfectly.
Fixed a race in ULCK_BUF() (bremfree() was outside of the splbio()
section).
Diffstat (limited to 'bin/date')
0 files changed, 0 insertions, 0 deletions