git: HAMMER VFS - Implement Version 6 features as WIP (work in progress)
Matthew Dillon
dillon at crater.dragonflybsd.org
Mon Jan 10 15:44:13 PST 2011
commit 89cba4dfde9336288af856ddb7f90aa103acee5c
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date: Mon Jan 10 15:39:47 2011 -0800
HAMMER VFS - Implement Version 6 features as WIP (work in progress)
* Add a new directory hash which generates segmented CRC and then adds
them together for the filename.
This tends to result in a directory key offset instead of a complete
re-randomization when a temporary file extension is renamed to its base
filename.
Numerous programs create temporary files and then rename them. This
tends to maintain inode number / directory name entry ordering a bit
better.
* This is a work in progress version. Production systems should not upgrade
their HAMMER filesystem to version 6 at this time.
Summary of changes:
sys/vfs/hammer/hammer_disk.h | 3 +-
sys/vfs/hammer/hammer_inode.c | 6 ++
sys/vfs/hammer/hammer_ioctl.c | 4 +
sys/vfs/hammer/hammer_subs.c | 124 ++++++++++++++++++++++++++---------------
4 files changed, 91 insertions(+), 46 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/89cba4dfde9336288af856ddb7f90aa103acee5c
--
DragonFly BSD source repository
More information about the Commits
mailing list