cvs commit: src/sys/vfs/hammer hammer_io.c hammer_ondisk.c
Matthew Dillon
dillon at crater.dragonflybsd.org
Thu Jan 10 21:46:32 PST 2008
dillon 2008/01/10 21:45:19 PST
DragonFly src repository
Modified files:
sys/vfs/hammer hammer_io.c hammer_ondisk.c
Log:
HAMMER 18B/many: Stabilization pass
* Fix B_LOCKED buffer leakages by clearing B_LOCKED when a bp is
disassociated from its related HAMMER structure.
* The sync code can be called with a buffer still referenced from
other sources, so hammer_flush_buffer_nodes() can't be called. The
refactored hammer_node abstraction no longer holds active refs on
the underlying buffer anyway (unless actively referenced itself), so
there is no need to flush it to guarentee that the buffer itself gets
flushed.
Revision Changes Path
1.16 +2 -1 src/sys/vfs/hammer/hammer_io.c
1.20 +1 -5 src/sys/vfs/hammer/hammer_ondisk.c
http://www.dragonflybsd.org/cvsweb/src/sys/vfs/hammer/hammer_io.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.19&r2=1.20&f=u
More information about the Commits
mailing list