hammer2 - Start working on the freemap (note: freemap not yet operational)
authorMatthew Dillon <dillon@apollo.backplane.com>
Wed, 30 Jan 2013 07:27:01 +0000 (23:27 -0800)
committerMatthew Dillon <dillon@apollo.backplane.com>
Wed, 30 Jan 2013 07:27:01 +0000 (23:27 -0800)
commit9061bde5ad5e46bcaee746ed03d598a75b38691f
treeb1dcfe2d55161e53145569d0cce369fb33316e18
parent63f86bf72020204ff34fd652a6d738e2ed7fa79e
hammer2 - Start working on the freemap (note: freemap not yet operational)

* hammer2 show now tries to dump all four volume headers

* Minimum storage allocation chunk size is 1K, increase MIN_RADIX and
  MIN_ALLOC appropriately.

* Preliminary reserved block mappings for the freemap indirect and bitmap
  blocks.

* Preliminary freemap design will use normal indirect blocks (but with
  a different bref.type name).  The check area of the bref will be used to
  store additional freemap hints.

  The volume header will contain a blockref to the root of the freemap,
  and newfs_hammer2 now initializes this blockref.

* Bring major hammer2_disk.h media structure comments up to snuff.

* Formalize blockref.methods and set proper defaults.  This field contains
  the crc/check and compression methods for a blockref.
sbin/hammer2/cmd_debug.c
sbin/newfs_hammer2/newfs_hammer2.c
sys/vfs/hammer2/hammer2.h
sys/vfs/hammer2/hammer2_chain.c
sys/vfs/hammer2/hammer2_disk.h
sys/vfs/hammer2/hammer2_flush.c
sys/vfs/hammer2/hammer2_freemap.c
sys/vfs/hammer2/hammer2_subr.c
sys/vfs/hammer2/hammer2_vfsops.c
sys/vfs/hammer2/hammer2_vnops.c