Date: Sat, 3 Oct 1998 09:19:28 -0700 (PDT) From: Bruce Evans <bde@FreeBSD.ORG> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG Subject: cvs commit: src/sys/sys buf.h src/sys/gnu/ext2fs ext2_linux_ialloc.c fs.h Message-ID: <199810031619.JAA21237@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
bde 1998/10/03 09:19:28 PDT Modified files: sys/sys buf.h sys/gnu/ext2fs ext2_linux_ialloc.c fs.h Log: 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). Revision Changes Path 1.59 +3 -3 src/sys/sys/buf.h 1.12 +1 -5 src/sys/gnu/ext2fs/ext2_linux_ialloc.c 1.4 +9 -3 src/sys/gnu/ext2fs/fs.h
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199810031619.JAA21237>