cvs commit: src/sys/sys buf.h src/sys/kern vfs_bio.c vfs_cluster.c
Matthew Dillon
dillon at crater.dragonflybsd.org
Thu Jun 12 16:27:11 PDT 2008
dillon 2008/06/12 16:26:38 PDT
DragonFly src repository
Modified files:
sys/sys buf.h
sys/kern vfs_bio.c vfs_cluster.c
Log:
Reimplement B_AGE. Have it cycle the buffer in the queue twice instead of
placing buffers at the head of the queue (which causes them to be run-down
backwards). Leave B_AGE set through the write cycle and have the bufdaemon
set the flag when flushing dirty buffers. B_AGE no longer effects the
ordering of the actual write and is allowed to slide through to the clean
queue when the write completes.
Revision Changes Path
1.47 +16 -2 src/sys/sys/buf.h
1.104 +44 -21 src/sys/kern/vfs_bio.c
1.37 +7 -1 src/sys/kern/vfs_cluster.c
http://www.dragonflybsd.org/cvsweb/src/sys/sys/buf.h.diff?r1=1.46&r2=1.47&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/kern/vfs_bio.c.diff?r1=1.103&r2=1.104&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/kern/vfs_cluster.c.diff?r1=1.36&r2=1.37&f=u
More information about the Commits
mailing list