CVSROOT:        /cvs
Module name:    src
Changes by:     m...@cvs.openbsd.org    2016/03/06 12:15:23

Modified files:
        sys/kern       : vfs_bio.c 

Log message:
Do not fetch the same block multiple times if it is already present
in the buffer cache.

When the Dynamic Buffer Cache has been introduced bread_cluster()
became the replacement of cluster_read().  However this function
did not consider the B_CACHE flag of the first buffer of a cluster
like its predecessor did.

This improves a lot read operations on MSDOSFS while reducing the
number of DMA operations.

ok beck@

Reply via email to