cvs commit: src/sys/vfs/hammer hammer.h hammer_alist.c hammer_disk.h hammer_inode.c hammer_io.c hammer_ondisk.c hammer_spike.c hammer_vnops.c
Matthew Dillon
dillon at crater.dragonflybsd.org
Thu Jan 10 17:42:04 PST 2008
dillon 2008/01/10 17:41:34 PST
DragonFly src repository
Modified files:
sys/vfs/hammer hammer.h hammer_alist.c hammer_disk.h
hammer_inode.c hammer_io.c
hammer_ondisk.c hammer_spike.c
hammer_vnops.c
Log:
HAMMER 18/many: Stabilization pass
* Properly flag the inode when dirty buffer cache buffers are present so
fsync syncs them. Fixes a umount panic.
* Fix A-list bugs introduced when I added the '10' bit code to record
an all-allocated/initialized state vs '00' (all-allocated uninitialized).
* Fix an A-list bug in *alloc_rev. A comparison was off and could result
in a near full A-list from incorrectly believing it was completely full.
* When generating a spike also allocate a spike record for the recovery code
to find.
* Generate the initial free blocks for a hammer buffer via its cluster A-list
instead of directly so the cluster A-list's meta-data is properly
synchronized.
Revision Changes Path
1.23 +2 -1 src/sys/vfs/hammer/hammer.h
1.8 +31 -16 src/sys/vfs/hammer/hammer_alist.c
1.16 +12 -0 src/sys/vfs/hammer/hammer_disk.h
1.19 +7 -3 src/sys/vfs/hammer/hammer_inode.c
1.15 +6 -2 src/sys/vfs/hammer/hammer_io.c
1.19 +28 -8 src/sys/vfs/hammer/hammer_ondisk.c
1.6 +12 -0 src/sys/vfs/hammer/hammer_spike.c
1.18 +1 -1 src/sys/vfs/hammer/hammer_vnops.c
http://www.dragonflybsd.org/cvsweb/src/sys/vfs/hammer/hammer.h.diff?r1=1.22&r2=1.23&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/vfs/hammer/hammer_alist.c.diff?r1=1.7&r2=1.8&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/vfs/hammer/hammer_disk.h.diff?r1=1.15&r2=1.16&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/vfs/hammer/hammer_inode.c.diff?r1=1.18&r2=1.19&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/vfs/hammer/hammer_io.c.diff?r1=1.14&r2=1.15&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/vfs/hammer/hammer_ondisk.c.diff?r1=1.18&r2=1.19&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/vfs/hammer/hammer_spike.c.diff?r1=1.5&r2=1.6&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/vfs/hammer/hammer_vnops.c.diff?r1=1.17&r2=1.18&f=u
More information about the Commits
mailing list