DragonFly commits List (threaded) for 2008-12
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]
master: sbin/hammer/cmd_cleanup.c sbin/hammer/hammer.8 sbin/hammer/hammer.c sbin/newfs_hammer/newfs_hammer.c sys/vfs/hammer/hammer.h sys/vfs/hammer/hammer_blockmap.c sys/vfs/hammer/hammer_disk.h sys/vfs/hammer/hammer_inode.c sys/vfs/hammer/hammer_object.c sys/vfs/hammer/hammer_subs.c sys/vfs/hammer/hammer_vfsops.c sys/vfs/hammer/hammer_vnops.c 5e435c92464bba65df27315ea1e25ab06939ddad
commit 5e435c92464bba65df27315ea1e25ab06939ddad
Author: Matthew Dillon <dillon@apollo.backplane.com>
Date: Tue Dec 2 18:11:43 2008 -0800
HAMMER Filesystem changes:
* Add version checking to the hammer mount code.
* Add ioctls to fetch the hammer filesystem version and to upgrade it,
to support future filesystem revisions.
* Rewrite the algorithm used to integrate reservations with the blockmap
allocate/free code to fix a bug. hammer_buffers were sometimes not
being properly destroyed causing conflicts with later reallocations.
* Add support for up to four directory hash algorithms. Add flexibility
to the namekey iterator API to allow the algorithm to control the
iteration space.
* When iterating memory with the CURSOR_DELETE_VISIBILITY flag set, ignore
the record deleted flags.
HAMMER Utilities changes:
* Add two new hammer directives, 'version' and 'version-upgrade'.
* Change hammer namekey directive to 'namekey1' and 'namekey2', to support
generating directory hashes for different hashing algorithms.
* Change hammer cleanup to still prune for existing snapshots even if
new snapshot generation is disabled.
* Change hammer cleanup's default snapshots config for temporary
filesystems from 'snapshots 0d 60d' to 'snapshots 0d 0d'.
Reported-by: "Justin C. Sherrill" <justin@shiningsilence.com> (blockmap bug)
Summary of changes:
sbin/hammer/cmd_cleanup.c | 89 ++++++++++++------
sbin/hammer/hammer.8 | 35 ++++++--
sbin/hammer/hammer.c | 46 +++++++++-
sbin/newfs_hammer/newfs_hammer.c | 2 +-
sys/vfs/hammer/hammer.h | 9 +-
sys/vfs/hammer/hammer_blockmap.c | 188 +++++++++++++++++--------------------
sys/vfs/hammer/hammer_disk.h | 11 ++
sys/vfs/hammer/hammer_inode.c | 10 ++
sys/vfs/hammer/hammer_object.c | 40 +++++---
sys/vfs/hammer/hammer_subs.c | 92 +++++++++++++++++--
sys/vfs/hammer/hammer_vfsops.c | 1 -
sys/vfs/hammer/hammer_vnops.c | 18 +++-
12 files changed, 363 insertions(+), 178 deletions(-)
http://gitweb.dragonflybsd.org/?p=dragonfly.git;a=commitdiff;h=5e435c92464bba65df27315ea1e25ab06939ddad
--
DragonFly BSD source repository
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]