cvs commit: src/sys/vfs/hammer hammer.h hammer_blockmap.c hammer_flusher.c hammer_freemap.c hammer_io.c hammer_object.c hammer_ondisk.c hammer_prune.c hammer_vfsops.c hammer_vnops.c
Matthew Dillon
dillon at crater.dragonflybsd.org
Mon Jun 9 17:42:37 PDT 2008
dillon 2008/06/09 17:40:31 PDT
DragonFly src repository
Modified files:
sys/vfs/hammer hammer.h hammer_blockmap.c
hammer_flusher.c hammer_freemap.c
hammer_io.c hammer_object.c
hammer_ondisk.c hammer_prune.c
hammer_vfsops.c hammer_vnops.c
Log:
HAMMER 53D/Many: Stabilization
* Fix an overwrite bug with direct write which could result in file
corruption.
* Reserve just-freed big blocks for two flush cycles to prevent HAMMER from
overwriting destroyed data so it does not become corrupt if the system
crashes. This is needed because the recover code does not record UNDOs
for data (nor do we want it to).
* More I/O subsystem work. There may still be an ellusive panic related
to calls to regetblk().
Revision Changes Path
1.77 +28 -8 src/sys/vfs/hammer/hammer.h
1.17 +1 -0 src/sys/vfs/hammer/hammer_blockmap.c
1.21 +22 -1 src/sys/vfs/hammer/hammer_flusher.c
1.15 +48 -15 src/sys/vfs/hammer/hammer_freemap.c
1.37 +55 -52 src/sys/vfs/hammer/hammer_io.c
1.64 +40 -8 src/sys/vfs/hammer/hammer_object.c
1.52 +13 -7 src/sys/vfs/hammer/hammer_ondisk.c
1.6 +1 -1 src/sys/vfs/hammer/hammer_prune.c
1.42 +5 -1 src/sys/vfs/hammer/hammer_vfsops.c
1.62 +1 -1 src/sys/vfs/hammer/hammer_vnops.c
http://www.dragonflybsd.org/cvsweb/src/sys/vfs/hammer/hammer.h.diff?r1=1.76&r2=1.77&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/vfs/hammer/hammer_blockmap.c.diff?r1=1.16&r2=1.17&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/vfs/hammer/hammer_flusher.c.diff?r1=1.20&r2=1.21&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/vfs/hammer/hammer_freemap.c.diff?r1=1.14&r2=1.15&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/vfs/hammer/hammer_io.c.diff?r1=1.36&r2=1.37&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/vfs/hammer/hammer_object.c.diff?r1=1.63&r2=1.64&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/vfs/hammer/hammer_ondisk.c.diff?r1=1.51&r2=1.52&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/vfs/hammer/hammer_prune.c.diff?r1=1.5&r2=1.6&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/vfs/hammer/hammer_vfsops.c.diff?r1=1.41&r2=1.42&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/vfs/hammer/hammer_vnops.c.diff?r1=1.61&r2=1.62&f=u
More information about the Commits
mailing list