diff options
author | 2016-03-06 19:15:23 +0000 | |
---|---|---|
committer | 2016-03-06 19:15:23 +0000 | |
commit | 427674adb592a841bdc31a54b9cf9b5cfa6e3cc5 (patch) | |
tree | 60041be13aef6bdabb2185935a9a89e3d176a6db /lib | |
parent | Merge db_elf_sym_values() into db_symbol_values(). (diff) | |
download | wireguard-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')
0 files changed, 0 insertions, 0 deletions