On 3/31/23 12:37 PM, Yuanchu Xie wrote: > As of Linux kernel commit 17e810229cb3 ("mm: support > POSIX_FADV_NOREUSE"), POSIX_FADV_NOREUSE hints at the LRU algorithm to > ignore accesses to mapped files with this flag. Previously, it was a > no-op. > > Add it in fio as an fadvise_hint option to test the new behavior. I just applied this, but then I pondered if we'll be breaking normal installs that don't have POSIX_FADV_NOREUSE available? Maybe the libc define predates the kernel actually implementing it by long enough that this doesn't matter? Let's see what happens... -- Jens Axboe