diff options
author | mckusick <mckusick@FreeBSD.org> | 2000-01-10 00:24:24 +0000 |
---|---|---|
committer | mckusick <mckusick@FreeBSD.org> | 2000-01-10 00:24:24 +0000 |
commit | d4409da21099a58aef95304ae121d7dd16935d28 (patch) | |
tree | 7af2f6cd9369ccc04c3599bb76bfdc259edea5e5 /usr.sbin/mailwrapper | |
parent | 2f9951ffbdc2dff074f16cd490f451ce751a7710 (diff) | |
download | FreeBSD-src-d4409da21099a58aef95304ae121d7dd16935d28.zip FreeBSD-src-d4409da21099a58aef95304ae121d7dd16935d28.tar.gz |
Several performance improvements for soft updates have been added:
1) Fastpath deletions. When a file is being deleted, check to see if it
was so recently created that its inode has not yet been written to
disk. If so, the delete can proceed to immediately free the inode.
2) Background writes: No file or block allocations can be done while the
bitmap is being written to disk. To avoid these stalls, the bitmap is
copied to another buffer which is written thus leaving the original
available for futher allocations.
3) Link count tracking. Constantly track the difference in i_effnlink and
i_nlink so that inodes that have had no change other than i_effnlink
need not be written.
4) Identify buffers with rollback dependencies so that the buffer flushing
daemon can choose to skip over them.
Diffstat (limited to 'usr.sbin/mailwrapper')
0 files changed, 0 insertions, 0 deletions