On Tue, Jun 25, 2024 at 12:18:50PM +0200, Jan Kara wrote: > Hello! > > When we were internally testing performance of recent kernels, we have noticed > quite variable performance of readahead arising from various quirks in > readahead code. So I went on a cleaning spree there. This is a batch of patches > resulting out of that. A quick testing in my test VM with the following fio > job file: > > [global] > direct=0 > ioengine=sync > invalidate=1 > blocksize=4k > size=10g > readwrite=read > > [reader] > numjobs=1 > > shows that this patch series improves the throughput from variable one in > 310-340 MB/s range to rather stable one at 350 MB/s. As a side effect these > cleanups also address the issue noticed by Bruz Zhang [1]. > Reviewed-by: Josef Bacik <josef@xxxxxxxxxxxxxx> Thanks, Josef