zfs/tests/zfs-tests/cmd/file
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
..
file_append.c Replace dead opensolaris.org license link 2022-07-11 14:16:13 -07:00
file_check.c Replace dead opensolaris.org license link 2022-07-11 14:16:13 -07:00
file_common.h Replace dead opensolaris.org license link 2022-07-11 14:16:13 -07:00
file_fadvise.c Add Linux posix_fadvise support 2022-09-08 10:29:41 -07:00
file_trunc.c Replace dead opensolaris.org license link 2022-07-11 14:16:13 -07:00
file_write.c Replace dead opensolaris.org license link 2022-07-11 14:16:13 -07:00
largest_file.c Replace dead opensolaris.org license link 2022-07-11 14:16:13 -07:00
randfree_file.c Replace dead opensolaris.org license link 2022-07-11 14:16:13 -07:00
randwritecomp.c tests: cmd: don't recurse 2022-04-01 17:58:23 -07:00