HAMMER utilities: Add the reblock command, adjust newfs_hammer.
authorMatthew Dillon <dillon@dragonflybsd.org>
Tue, 18 Mar 2008 05:21:55 +0000 (05:21 +0000)
committerMatthew Dillon <dillon@dragonflybsd.org>
Tue, 18 Mar 2008 05:21:55 +0000 (05:21 +0000)
commit3f673d5c26de05a388d4c4dab80fa7514b55c95d
tree53b1517c2f8c17394f4de96cb8801483a4a1f573
parentbf686dbe109e04d50f3c63426cba46e299dbc0a5
HAMMER utilities:  Add the reblock command, adjust newfs_hammer.

* Implement 'hammer reblock'.  This calls the reblock ioctl to force
  a HAMMER filesystem to scan its B-Tree and reblock partially empty
  big blocks.

* newfs_hammer must create the undo FIFO blockmap.
sbin/hammer/Makefile
sbin/hammer/cmd_reblock.c [new file with mode: 0644]
sbin/hammer/hammer.c
sbin/hammer/hammer.h
sbin/hammer/hammer_util.h
sbin/hammer/ondisk.c
sbin/newfs_hammer/newfs_hammer.c