Skip to content
Commit b1843d23 authored by Dominique Martinet's avatar Dominique Martinet
Browse files

9p: set readahead and io size according to maxsize



having a readahead of 128k with a msize of 128k (with overhead) lead to
reading 124+4k everytime, making two roundtrips needlessly.

tune readahead according to msize when cache is enabled for better
performance

Link: http://lkml.kernel.org/r/20211104120323.2189376-1-asmadeus@codewreck.org
Signed-off-by: default avatarDominique Martinet <asmadeus@codewreck.org>
parent 05f975cd
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment