summaryrefslogtreecommitdiffstats
path: root/lib/libc
diff options
context:
space:
mode:
authormpi <mpi@openbsd.org>2016-03-06 19:15:23 +0000
committermpi <mpi@openbsd.org>2016-03-06 19:15:23 +0000
commit427674adb592a841bdc31a54b9cf9b5cfa6e3cc5 (patch)
tree60041be13aef6bdabb2185935a9a89e3d176a6db /lib/libc
parentMerge db_elf_sym_values() into db_symbol_values(). (diff)
downloadwireguard-openbsd-427674adb592a841bdc31a54b9cf9b5cfa6e3cc5.tar.xz
wireguard-openbsd-427674adb592a841bdc31a54b9cf9b5cfa6e3cc5.zip
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@
Diffstat (limited to 'lib/libc')
0 files changed, 0 insertions, 0 deletions