cvs commit: src/sys/sys buf.h src/sys/kern vfs_bio.c
Matthew Dillon
dillon at crater.dragonflybsd.org
Tue Nov 6 12:07:45 PST 2007
dillon 2007/11/06 12:06:26 PST
DragonFly src repository
Modified files:
sys/sys buf.h
sys/kern vfs_bio.c
Log:
Add regetblk() - reacquire a buffer lock. The buffer must be B_LOCKED or
must be interlocked with bio_ops. Used by HAMMER.
Further changes to B_LOCKED buffers. A B_LOCKED|B_DELWRI buffer will be
placed on the dirty queue and then returned to the locked queue once the
I/O completes. That is, B_LOCKED does not interfere with B_DELWRI
operation.
Revision Changes Path
1.40 +1 -0 src/sys/sys/buf.h
1.94 +54 -7 src/sys/kern/vfs_bio.c
http://www.dragonflybsd.org/cvsweb/src/sys/sys/buf.h.diff?r1=1.39&r2=1.40&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/kern/vfs_bio.c.diff?r1=1.93&r2=1.94&f=u
More information about the Commits
mailing list