summaryrefslogtreecommitdiffstats
path: root/usr.sbin/tcpdump/print-ipsec.c
diff options
context:
space:
mode:
authorkurt <kurt@openbsd.org>2020-01-24 13:01:29 +0000
committerkurt <kurt@openbsd.org>2020-01-24 13:01:29 +0000
commit8078e9e980e81d39797c631373b889a379b68c73 (patch)
treeeef1eff6a72397dc82e0d7ddba379cdd18fcd2aa /usr.sbin/tcpdump/print-ipsec.c
parentsync (diff)
downloadwireguard-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