HAMMER VFS - Add hinting capability to block allocator, hint B-Tree
authorMatthew Dillon <dillon@apollo.backplane.com>
Sat, 20 Jun 2009 21:49:12 +0000 (14:49 -0700)
committerMatthew Dillon <dillon@apollo.backplane.com>
Sat, 20 Jun 2009 21:49:12 +0000 (14:49 -0700)
commitdf2ccbac56a7e11715c25f2c1617dafb6db040b1
tree439b6a3d74945a212db5c8ccfb0e4c0dd09ae085
parentfd8a0a5499f171aad5f8d1e8f46b5e5cf5b9dd18
HAMMER VFS - Add hinting capability to block allocator, hint B-Tree

* A hammer_off_t can now be supplied to the blockmap allocator as a hint.

* Use the hinting mechanism to better-localize B-Tree node allocations
  and meta-data updates.
sys/vfs/hammer/hammer.h
sys/vfs/hammer/hammer_blockmap.c
sys/vfs/hammer/hammer_btree.c
sys/vfs/hammer/hammer_disk.h
sys/vfs/hammer/hammer_mirror.c
sys/vfs/hammer/hammer_object.c
sys/vfs/hammer/hammer_ondisk.c
sys/vfs/hammer/hammer_reblock.c