HAMMER 9/many - btree removal cases, mount nohistory
authorMatthew Dillon <dillon@dragonflybsd.org>
Fri, 30 Nov 2007 00:16:56 +0000 (00:16 +0000)
committerMatthew Dillon <dillon@dragonflybsd.org>
Fri, 30 Nov 2007 00:16:56 +0000 (00:16 +0000)
commit195c19a1d7454923528d161b86af2537c9535dcd
treeb26326bcbb63a38105b0ca8fd3ea495eed02f387
parentcff79c64fb9cf1c0574bc7e88c7acf701aee035a
HAMMER 9/many - btree removal cases, mount nohistory

Add a 'nohistory' mount option that will cause HAMMER to not retain any
history.  This option is primarily for testing of btree removal and hinted
radix tree bitmap frees and reallocations.

Flesh out the btree node removal code.  We don't try to rebalance the tree
yet but we do attempt to remove empty nodes.

Add workarounds for a GCC-4 bug involving overflow tests on integers.
13 files changed:
sbin/mount_hammer/mount_hammer.8
sbin/mount_hammer/mount_hammer.c
sys/vfs/hammer/hammer.h
sys/vfs/hammer/hammer_btree.c
sys/vfs/hammer/hammer_cursor.c
sys/vfs/hammer/hammer_cursor.h
sys/vfs/hammer/hammer_disk.h
sys/vfs/hammer/hammer_inode.c
sys/vfs/hammer/hammer_mount.h
sys/vfs/hammer/hammer_object.c
sys/vfs/hammer/hammer_ondisk.c
sys/vfs/hammer/hammer_vfsops.c
sys/vfs/hammer/hammer_vnops.c