cvs commit: src/sbin/newfs_hammer newfs_hammer.c src/sys/vfs/hammer Makefile hammer.h hammer_alist.c hammer_alist.h hammer_disk.h hammer_io.c hammer_object.c hammer_ondisk.c hammer_recover.c hammer_subs.c
Matthew Dillon
dillon at crater.dragonflybsd.org
Tue Jan 8 16:47:18 PST 2008
dillon 2008/01/08 16:46:22 PST
DragonFly src repository
Modified files:
sbin/newfs_hammer newfs_hammer.c
sys/vfs/hammer Makefile hammer.h hammer_alist.c
hammer_alist.h hammer_disk.h hammer_io.c
hammer_object.c hammer_ondisk.c
hammer_subs.c
Added files:
sys/vfs/hammer hammer_recover.c
Log:
HAMMER 16/many - Recovery infrastructure, misc bug fixes
* Add A-list recovery and iteration support. This code fixes up an A-list
which might have been partially modified or gotten out of sync.
* Add substantial cluster recovery infrastructure (not yet enabled). The
code still needs to go through a few test/debug cycles and does not
yet handle cluster pushes.
* Fix a critical section and a bug in the A-list empty-check code (the
latter not yet used by HAMMER but will be soon). The wrong base free
block count was being supplied.
* Add a synchronizing transaction id field to the cluster header. This
field will be used by the recovery code.
* For the moment add a bitmap of buffers allocated to record arrays. The
bitmap is in the cluster header. This may or may not be temporary. For
now it will allow the recovery code to wipe the cluster's A-list's and
then iterate records to regenerate them.
Revision Changes Path
1.13 +1 -0 src/sbin/newfs_hammer/newfs_hammer.c
1.5 +2 -1 src/sys/vfs/hammer/Makefile
1.20 +4 -0 src/sys/vfs/hammer/hammer.h
1.7 +417 -6 src/sys/vfs/hammer/hammer_alist.c
1.4 +16 -0 src/sys/vfs/hammer/hammer_alist.h
1.15 +22 -3 src/sys/vfs/hammer/hammer_disk.h
1.13 +7 -5 src/sys/vfs/hammer/hammer_io.c
1.16 +10 -2 src/sys/vfs/hammer/hammer_object.c
1.17 +113 -16 src/sys/vfs/hammer/hammer_ondisk.c
1.11 +3 -1 src/sys/vfs/hammer/hammer_subs.c
http://www.dragonflybsd.org/cvsweb/src/sbin/newfs_hammer/newfs_hammer.c.diff?r1=1.12&r2=1.13&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/vfs/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.19&r2=1.20&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/vfs/hammer/hammer_alist.c.diff?r1=1.6&r2=1.7&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/vfs/hammer/hammer_alist.h.diff?r1=1.3&r2=1.4&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/vfs/hammer/hammer_disk.h.diff?r1=1.14&r2=1.15&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/vfs/hammer/hammer_io.c.diff?r1=1.12&r2=1.13&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/vfs/hammer/hammer_object.c.diff?r1=1.15&r2=1.16&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/vfs/hammer/hammer_ondisk.c.diff?r1=1.16&r2=1.17&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/vfs/hammer/hammer_subs.c.diff?r1=1.10&r2=1.11&f=u
More information about the Commits
mailing list