cvs commit: src/sys/vfs/hammer hammer.h hammer_inode.c hammer_io.c hammer_object.c hammer_ondisk.c hammer_reblock.c hammer_vnops.c
Matthew Dillon
dillon at crater.dragonflybsd.org
Sat Jun 21 13:22:52 PDT 2008
dillon 2008/06/21 13:21:58 PDT
DragonFly src repository
Modified files:
sys/vfs/hammer hammer.h hammer_inode.c hammer_io.c
hammer_object.c hammer_ondisk.c
hammer_reblock.c hammer_vnops.c
Log:
HAMMER 56F/Many: Stabilization pass
* When data is reblocked any related direct-io offsets cached in front-end
buffer cache buffers must be cleaned out. This also requires running
through any snapshotted inodes referencing the same object.
* The flusher must check that the cached B-Tree node has not been flagged
as deleted (HAMMER_NODE_DELETED) before seeking to it.
* hammer_io_direct_read() now requires and asserts that the second-level
cached offset in the BIO is a zone-2 offset.
* hammer_io_direct_write() no longer overwrites the second-level cached
offset with the third level raw disk offset. It pushes a third level
to set the raw disk offset.
* When creating a directory entry, set the localization field for pseudo-fs
support (which isn't quite working yet anyway so no biggy).
* Move the Red-Black tree generator for inodes from hammer_ondisk.c to
hammer_inode.c.
Revision Changes Path
1.89 +8 -0 src/sys/vfs/hammer/hammer.h
1.81 +88 -2 src/sys/vfs/hammer/hammer_inode.c
1.45 +103 -27 src/sys/vfs/hammer/hammer_io.c
1.73 +1 -0 src/sys/vfs/hammer/hammer_object.c
1.62 +0 -47 src/sys/vfs/hammer/hammer_ondisk.c
1.20 +5 -4 src/sys/vfs/hammer/hammer_reblock.c
1.75 +1 -1 src/sys/vfs/hammer/hammer_vnops.c
http://www.dragonflybsd.org/cvsweb/src/sys/vfs/hammer/hammer.h.diff?r1=1.88&r2=1.89&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/vfs/hammer/hammer_inode.c.diff?r1=1.80&r2=1.81&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/vfs/hammer/hammer_io.c.diff?r1=1.44&r2=1.45&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/vfs/hammer/hammer_object.c.diff?r1=1.72&r2=1.73&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/vfs/hammer/hammer_ondisk.c.diff?r1=1.61&r2=1.62&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/vfs/hammer/hammer_reblock.c.diff?r1=1.19&r2=1.20&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/vfs/hammer/hammer_vnops.c.diff?r1=1.74&r2=1.75&f=u
More information about the Commits
mailing list