cvs commit: src/sys/vfs/hammer hammer.h hammer_flusher.c hammer_io.c hammer_ondisk.c hammer_reblock.c hammer_recover.c hammer_undo.c
Matthew Dillon
dillon at crater.dragonflybsd.org
Wed May 14 20:37:22 PDT 2008
dillon 2008/05/14 20:36:40 PDT
DragonFly src repository
Modified files:
sys/vfs/hammer hammer.h hammer_flusher.c hammer_io.c
hammer_ondisk.c hammer_reblock.c
hammer_recover.c hammer_undo.c
Log:
HAMMER 45/Many: Stabilization pass, undo sequencing.
* The flusher was improperly requesting a reflush on buffers. The flush
request was being defered for any buffers with active front-end references
and then wound up being flushed by the front-end, breaking ordering
requirements.
Remove the reflush flag entirely. This fixes numerous crash recovery
cases.
* Add a missing unlock in the reblocking ioctl code which was responsible
for a number of process lockups.
* Enhance the undo recovery kprintf.
* Validate the CRC in UNDO records
Revision Changes Path
1.68 +1 -2 src/sys/vfs/hammer/hammer.h
1.16 +11 -4 src/sys/vfs/hammer/hammer_flusher.c
1.31 +3 -5 src/sys/vfs/hammer/hammer_io.c
1.45 +3 -8 src/sys/vfs/hammer/hammer_ondisk.c
1.15 +6 -4 src/sys/vfs/hammer/hammer_reblock.c
1.17 +19 -3 src/sys/vfs/hammer/hammer_recover.c
1.15 +0 -2 src/sys/vfs/hammer/hammer_undo.c
http://www.dragonflybsd.org/cvsweb/src/sys/vfs/hammer/hammer.h.diff?r1=1.67&r2=1.68&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/vfs/hammer/hammer_flusher.c.diff?r1=1.15&r2=1.16&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/vfs/hammer/hammer_io.c.diff?r1=1.30&r2=1.31&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/vfs/hammer/hammer_ondisk.c.diff?r1=1.44&r2=1.45&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/vfs/hammer/hammer_reblock.c.diff?r1=1.14&r2=1.15&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/vfs/hammer/hammer_recover.c.diff?r1=1.16&r2=1.17&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/vfs/hammer/hammer_undo.c.diff?r1=1.14&r2=1.15&f=u
More information about the Commits
mailing list