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 /sys/ufs/ffs/ffs_softdep_stub.c | |
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 'sys/ufs/ffs/ffs_softdep_stub.c')
-rw-r--r-- | sys/ufs/ffs/ffs_softdep_stub.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/ufs/ffs/ffs_softdep_stub.c b/sys/ufs/ffs/ffs_softdep_stub.c index 72f819b..4b8411d 100644 --- a/sys/ufs/ffs/ffs_softdep_stub.c +++ b/sys/ufs/ffs/ffs_softdep_stub.c @@ -210,11 +210,11 @@ softdep_setup_directory_change(bp, dp, ip, newinum, isrmdir) } void -softdep_increase_linkcnt(ip) +softdep_change_linkcnt(ip) struct inode *ip; { - panic("softdep_increase_linkcnt called"); + panic("softdep_change_linkcnt called"); } void |