Date: Wed, 25 Apr 2001 01:11:19 -0700 (PDT) From: Kirk McKusick <mckusick@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/kern vfs_vnops.c src/sys/ufs/ffs ffs_snapshot.c ffs_vfsops.c src/sys/ufs/ufs ufs_vnops.c Message-ID: <200104250811.f3P8BKI09978@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
mckusick 2001/04/25 01:11:19 PDT Modified files: sys/kern vfs_vnops.c sys/ufs/ffs ffs_snapshot.c ffs_vfsops.c sys/ufs/ufs ufs_vnops.c Log: When closing the last reference to an unlinked file, it is freed by the inactive routine. Because the freeing causes the filesystem to be modified, the close must be held up during periods when the filesystem is suspended. For snapshots to be consistent across crashes, they must write blocks that they copy and claim those written blocks in their on-disk block pointers before the old blocks that they referenced can be allowed to be written. Close a loophole that allowed unwritten blocks to be skipped when doing ffs_sync with a request to wait for all I/O activity to be completed. Revision Changes Path 1.115 +10 -1 src/sys/kern/vfs_vnops.c 1.15 +67 -18 src/sys/ufs/ffs/ffs_snapshot.c 1.150 +16 -7 src/sys/ufs/ffs/ffs_vfsops.c 1.163 +24 -4 src/sys/ufs/ufs/ufs_vnops.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200104250811.f3P8BKI09978>