Details
-
Improvement
-
Resolution: Unresolved
-
Minor
-
None
-
None
-
None
-
3
-
9223372036854775807
Description
LU-12346 noted this issue, but I think sort of skipped actually closing to a solution.
Today, when WILLREAD advise is given, ladvise_prefetch reads in to the thread big cache. If this cache is not page cache pages, this is a waste of time, since it's not used for subsequent reads. We should just not do anything if the buffer is not from the page cache.
Note that compression will also use this, so we'll also need an option to force reads to a local buffer.