DragonFly commits List (threaded) for 2008-06
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]
cvs commit: src/sys/kern vfs_bio.c src/sys/sys buf.h src/usr.bin/systat vmstat.c
dillon 2008/06/28 16:45:20 PDT
DragonFly src repository
Modified files:
sys/kern vfs_bio.c
sys/sys buf.h
usr.bin/systat vmstat.c
Log:
Fix hopefully all possible deadlocks that can occur when mixed block sizes
are used with the buffer cache. The fix is simply to base the limiting
and flushing code on a byte count rather then a buffer count.
This will allow UFS to utilizes a greater number of dirty buffers and
will cause HAMMER to use fewer. This also makes tuning the buffer cache
a whole lot easier.
Revision Changes Path
1.107 +87 -124 src/sys/kern/vfs_bio.c
1.50 +1 -1 src/sys/sys/buf.h
1.10 +4 -4 src/usr.bin/systat/vmstat.c
http://www.dragonflybsd.org/cvsweb/src/sys/kern/vfs_bio.c.diff?r1=1.106&r2=1.107&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/sys/buf.h.diff?r1=1.49&r2=1.50&f=u
http://www.dragonflybsd.org/cvsweb/src/usr.bin/systat/vmstat.c.diff?r1=1.9&r2=1.10&f=u
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]