HAMMER 2/many - core mount and unmount code now works, the B-Tree search
commit27ea23985508e13f085a7795ad6b98658aff0da6
authorMatthew Dillon <dillon@dragonflybsd.org>
Fri, 2 Nov 2007 00:57:16 +0000 (2 00:57 +0000)
committerMatthew Dillon <dillon@dragonflybsd.org>
Fri, 2 Nov 2007 00:57:16 +0000 (2 00:57 +0000)
tree95a03b568f266fd37844e56d214a3ce2fe96956c
parent48f710002d458ff002b9899a2d826a823a89224b
HAMMER 2/many - core mount and unmount code now works, the B-Tree search
properly locates the root inode (though the root is a degenerate leaf in
a newly formatted filesystem so it isn't much of a test).

Properly implement special cases for hammer_btree_cmp() for the handling
of the creation and deletion transaction ids.  In particular a create_tid
for key1 indicates 'the most recent version if not deleted' and a delete_tid
for key2 indicates a record which has not yet been deleted.
sys/vfs/hammer/hammer.h
sys/vfs/hammer/hammer_btree.c
sys/vfs/hammer/hammer_disk.h
sys/vfs/hammer/hammer_inode.c
sys/vfs/hammer/hammer_ondisk.c
sys/vfs/hammer/hammer_vfsops.c