hammer2 - flesh out inode and blockref chaining
authorMatthew Dillon <dillon@apollo.backplane.com>
Fri, 10 Feb 2012 22:12:13 +0000 (14:12 -0800)
committerMatthew Dillon <dillon@apollo.backplane.com>
Fri, 10 Feb 2012 22:12:13 +0000 (14:12 -0800)
commit7cfa8da52cfd4b8dbe75786832df9f844940be57
tree904b8f43312cb1361146acbc3857bfc348045540
parent2de661c4ce0b65108c1b1dfe63c14582dbd32ce0
hammer2 - flesh out inode and blockref chaining

* Move the inode code into hammer2_inode.c

* Rename ipstack to chain and do an initial skeleton in hammer2_chain.c

* The hammer2_chain structures embed a blockref and maintain a chain
  of pointers all the way to the volume root.

  hammer2_chain structures are embedded in major hammer2 system memory
  structures (hammer2_inode, hammer2_mount, hammer2_indblock).

  All lookups and searches are tracked via hammer2_chain structures.
sys/vfs/hammer2/Makefile
sys/vfs/hammer2/hammer2.h
sys/vfs/hammer2/hammer2_chain.c [new file with mode: 0644]
sys/vfs/hammer2/hammer2_disk.h
sys/vfs/hammer2/hammer2_inode.c [copied from sys/vfs/hammer2/hammer2_subr.c with 59% similarity]
sys/vfs/hammer2/hammer2_subr.c
sys/vfs/hammer2/hammer2_vfsops.c