From owner-cvs-all Fri Nov 10 6:54:19 2000 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 9963237B479; Fri, 10 Nov 2000 06:54:16 -0800 (PST) Received: (from bde@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id GAA41872; Fri, 10 Nov 2000 06:54:16 -0800 (PST) (envelope-from bde@FreeBSD.org) Message-Id: <200011101454.GAA41872@freefall.freebsd.org> From: Bruce Evans Date: Fri, 10 Nov 2000 06:54:16 -0800 (PST) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/gnu/ext2fs fs.h X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG bde 2000/11/10 06:54:16 PST Modified files: sys/gnu/ext2fs fs.h Log: Quick fix for not writing group descriptor group, inode bitmaps or block bitmaps before unmount() completes. They were written using bdwrite(), so they were normally written less than 32 seconds after unmount(), but this is too late if the media is removed or the system is rebooted soon after unmount(). sync()ing before unmount() didn't help, because ext2fs uses buggy private caching for these blocks -- it doesn't even bdwrite() them until they are uncached or the filesystem is unmounted. sync()ing after unmount() didn't help, because sync() only applies to (vnodes for) mounted filesystems. PR: 22726 Revision Changes Path 1.6 +2 -1 src/sys/gnu/ext2fs/fs.h To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message