summaryrefslogtreecommitdiffstats
path: root/sys/kern/kern_exit.c
diff options
context:
space:
mode:
authormckusick <mckusick@FreeBSD.org>2001-04-25 08:11:18 +0000
committermckusick <mckusick@FreeBSD.org>2001-04-25 08:11:18 +0000
commitf863141979de490194a5cb124d97ed1e3a000632 (patch)
tree0ea574f62c45c0ac1caa946e11d97f05e3fd2b80 /sys/kern/kern_exit.c
parentfa10273007fa4451f879e6b720eb020c082d4453 (diff)
downloadFreeBSD-src-f863141979de490194a5cb124d97ed1e3a000632.zip
FreeBSD-src-f863141979de490194a5cb124d97ed1e3a000632.tar.gz
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.
Diffstat (limited to 'sys/kern/kern_exit.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud