HAMMER 30/many: blockmap work.
authorMatthew Dillon <dillon@dragonflybsd.org>
Sat, 23 Feb 2008 03:01:08 +0000 (03:01 +0000)
committerMatthew Dillon <dillon@dragonflybsd.org>
Sat, 23 Feb 2008 03:01:08 +0000 (03:01 +0000)
commitf03c9cf46513827193d1ab9b71e27e0b13566eb8
tree0b69fdb1595f913932e68ce9246a00784b80e74a
parent3df22e805d7616a3a431c8227d444f4181bb561c
HAMMER 30/many: blockmap work.

* Give the hammer utility the ability to decode blockmaps.  'hammer show'
  can dump the B-Tree again.

* Fix a couple of bugs in newfs_hammer's initialization of the freemap.

* Implement reallocation within the freemap (poor-man's version).

* Implement reallocation within a zone (poor-man's version).  Add a
  sysctl vfs.hammer.zone_limit to artificially reduce the size of the
  zone to force it to cycle.
12 files changed:
sbin/hammer/Makefile
sbin/hammer/blockmap.c [new file with mode: 0644]
sbin/hammer/cmd_show.c
sbin/hammer/hammer_util.h
sbin/hammer/ondisk.c
sbin/newfs_hammer/Makefile
sys/vfs/hammer/hammer.h
sys/vfs/hammer/hammer_blockmap.c
sys/vfs/hammer/hammer_disk.h
sys/vfs/hammer/hammer_freemap.c
sys/vfs/hammer/hammer_ondisk.c
sys/vfs/hammer/hammer_vfsops.c