cvs commit: src/sbin/hammer Makefile blockmap.c cmd_show.c hammer_util.h ondisk.c src/sbin/newfs_hammer Makefile src/sys/vfs/hammer hammer.h hammer_blockmap.c hammer_disk.h hammer_freemap.c hammer_ondisk.c hammer_vfsops.c
Matthew Dillon
dillon at crater.dragonflybsd.org
Fri Feb 22 19:02:38 PST 2008
dillon 2008/02/22 19:01:08 PST
DragonFly src repository
Modified files:
sbin/hammer Makefile cmd_show.c hammer_util.h
ondisk.c
sbin/newfs_hammer Makefile
sys/vfs/hammer hammer.h hammer_blockmap.c hammer_disk.h
hammer_freemap.c hammer_ondisk.c
hammer_vfsops.c
Added files:
sbin/hammer blockmap.c
Log:
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.
Revision Changes Path
1.6 +1 -1 src/sbin/hammer/Makefile
1.6 +33 -1 src/sbin/hammer/cmd_show.c
1.11 +3 -0 src/sbin/hammer/hammer_util.h
1.13 +40 -19 src/sbin/hammer/ondisk.c
1.5 +1 -1 src/sbin/newfs_hammer/Makefile
1.39 +1 -0 src/sys/vfs/hammer/hammer.h
1.4 +128 -52 src/sys/vfs/hammer/hammer_blockmap.c
1.25 +9 -0 src/sys/vfs/hammer/hammer_disk.h
1.3 +15 -11 src/sys/vfs/hammer/hammer_freemap.c
1.31 +2 -1 src/sys/vfs/hammer/hammer_ondisk.c
1.21 +16 -0 src/sys/vfs/hammer/hammer_vfsops.c
http://www.dragonflybsd.org/cvsweb/src/sbin/hammer/Makefile.diff?r1=1.5&r2=1.6&f=u
http://www.dragonflybsd.org/cvsweb/src/sbin/hammer/cmd_show.c.diff?r1=1.5&r2=1.6&f=u
http://www.dragonflybsd.org/cvsweb/src/sbin/hammer/hammer_util.h.diff?r1=1.10&r2=1.11&f=u
http://www.dragonflybsd.org/cvsweb/src/sbin/hammer/ondisk.c.diff?r1=1.12&r2=1.13&f=u
http://www.dragonflybsd.org/cvsweb/src/sbin/newfs_hammer/Makefile.diff?r1=1.4&r2=1.5&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/vfs/hammer/hammer.h.diff?r1=1.38&r2=1.39&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/vfs/hammer/hammer_blockmap.c.diff?r1=1.3&r2=1.4&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/vfs/hammer/hammer_disk.h.diff?r1=1.24&r2=1.25&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/vfs/hammer/hammer_freemap.c.diff?r1=1.2&r2=1.3&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/vfs/hammer/hammer_ondisk.c.diff?r1=1.30&r2=1.31&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/vfs/hammer/hammer_vfsops.c.diff?r1=1.20&r2=1.21&f=u
More information about the Commits
mailing list