diff options
author | 2020-01-24 13:01:29 +0000 | |
---|---|---|
committer | 2020-01-24 13:01:29 +0000 | |
commit | 8078e9e980e81d39797c631373b889a379b68c73 (patch) | |
tree | eef1eff6a72397dc82e0d7ddba379cdd18fcd2aa /usr.sbin/tcpdump/print-ipsec.c | |
parent | sync (diff) | |
download | wireguard-openbsd-8078e9e980e81d39797c631373b889a379b68c73.tar.xz wireguard-openbsd-8078e9e980e81d39797c631373b889a379b68c73.zip |
Improve small random read ffs performance:
Only call bread_cluster if either the previously read ffs block is
adjacent to the current block or if the current read request exceeds the
current ffs block. This effectively turns off read-ahead for random reads
that fall within one ffs block.
okay beck@, mpi@, visa@
Diffstat (limited to 'usr.sbin/tcpdump/print-ipsec.c')
0 files changed, 0 insertions, 0 deletions