mirror_zfs/tests/zfs-tests
Finix1979 320f0c6022
Add Linux posix_fadvise support
The purpose of this PR is to accepts fadvise ioctl from userland
to do read-ahead by demand.

It could dramatically improve sequential read performance especially
when primarycache is set to metadata or zfs_prefetch_disable is 1.

If the file is mmaped, generic_fadvise is also called for page cache
read-ahead besides dmu_prefetch.

Only POSIX_FADV_WILLNEED and POSIX_FADV_SEQUENTIAL are supported in
this PR currently.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Finix Yan <yancw@info2soft.com>
Closes #13694
2022-09-08 10:29:41 -07:00
..
callbacks autoconf: use include directives instead of recursing down tests (mostly) 2022-05-10 10:20:09 -07:00
cmd Add Linux posix_fadvise support 2022-09-08 10:29:41 -07:00
include Add Linux posix_fadvise support 2022-09-08 10:29:41 -07:00
tests Add Linux posix_fadvise support 2022-09-08 10:29:41 -07:00
.gitignore autoconf: use include directives instead of recursing down cmd 2022-05-10 10:18:38 -07:00
Makefile.am autoconf: use include directives instead of recursing down tests (mostly) 2022-05-10 10:20:09 -07:00