From: Yuanchu Xie Date: Fri, 31 Mar 2023 18:37:03 +0000 (-0700) Subject: docs: add noreuse fadvise_hint option X-Git-Tag: fio-3.35~44 X-Git-Url: https://git.kernel.dk/?a=commitdiff_plain;h=109aad505302d2924396774f267eca7451f8fb14;p=fio.git docs: add noreuse fadvise_hint option noreuse was added as an fadvise_hint option to apply POSIX_FADV_NOREUSE, so we add it to the docs as well. Signed-off-by: Yuanchu Xie Link: https://lore.kernel.org/r/20230331183703.3145788-1-yuanchu@google.com Signed-off-by: Jens Axboe --- diff --git a/HOWTO.rst b/HOWTO.rst index 5240f9da..cb0f9834 100644 --- a/HOWTO.rst +++ b/HOWTO.rst @@ -1308,6 +1308,11 @@ I/O type **random** Advise using **FADV_RANDOM**. + **noreuse** + Advise using **FADV_NOREUSE**. This may be a no-op on older Linux + kernels. Since Linux 6.3, it provides a hint to the LRU algorithm. + See the :manpage:`posix_fadvise(2)` man page. + .. option:: write_hint=str Use :manpage:`fcntl(2)` to advise the kernel what life time to expect diff --git a/fio.1 b/fio.1 index e2db3a3f..311b16d8 100644 --- a/fio.1 +++ b/fio.1 @@ -1098,6 +1098,11 @@ Advise using FADV_SEQUENTIAL. .TP .B random Advise using FADV_RANDOM. +.TP +.B noreuse +Advise using FADV_NOREUSE. This may be a no-op on older Linux +kernels. Since Linux 6.3, it provides a hint to the LRU algorithm. +See the \fBposix_fadvise\fR\|(2) man page. .RE .RE .TP