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
..
2018-05-29 14:51:39 -07:00
2022-06-08 15:55:57 -07:00
2022-06-27 14:18:50 -07:00
2022-05-10 10:18:11 -07:00
2022-01-06 12:46:42 -08:00
2022-01-13 09:51:12 -07:00
2022-01-13 09:51:12 -07:00
2020-12-03 10:01:16 -08:00
2021-06-01 11:38:54 -07:00
2022-05-10 10:18:11 -07:00
2022-01-07 10:36:49 -08:00
2021-01-26 16:12:26 -08:00
2021-10-29 15:36:01 -07:00
2019-03-02 16:19:05 -08:00
2019-03-02 16:19:05 -08:00
2020-07-10 14:26:12 -07:00
2022-05-10 10:20:55 -07:00
2022-04-20 13:43:42 -07:00
2020-09-04 11:11:18 -07:00
2019-04-19 12:09:29 -07:00
2019-04-19 12:09:29 -07:00
2020-06-22 09:46:37 -07:00
2019-04-19 12:09:29 -07:00
2019-10-01 12:50:34 -07:00
2021-09-09 09:38:35 -07:00
2022-06-15 14:20:28 -07:00
2019-10-01 12:50:34 -07:00
2019-11-12 08:59:06 -08:00
2021-05-27 22:39:53 -07:00
2021-03-19 22:33:42 -07:00
2022-06-01 09:59:37 -07:00
2022-06-09 08:10:38 -06:00
2022-08-04 16:57:33 -07:00
2022-02-18 09:34:25 -08:00
2019-10-01 12:50:34 -07:00
2019-11-12 08:59:06 -08:00
2022-04-26 10:47:09 -07:00
2022-05-11 10:32:51 -07:00
2019-10-01 12:50:34 -07:00
2019-10-01 12:50:34 -07:00
2019-11-18 13:05:56 -08:00
2019-10-01 12:50:34 -07:00
2019-11-12 08:59:06 -08:00
2019-10-01 12:50:34 -07:00
2019-11-12 08:59:06 -08:00
2022-09-08 10:29:41 -07:00
2022-01-24 12:59:25 -08:00
2019-10-01 12:50:34 -07:00
2019-10-01 12:50:34 -07:00
2019-11-12 08:59:06 -08:00
2019-11-12 08:59:06 -08:00
2022-06-01 09:59:15 -07:00
2019-11-12 08:59:06 -08:00
2019-11-12 08:59:06 -08:00
2022-09-08 10:29:41 -07:00
2021-04-02 18:52:15 -07:00
2022-05-31 12:04:35 -07:00
2019-10-01 12:50:34 -07:00
2022-04-19 10:38:04 -07:00
2022-02-18 09:34:25 -08:00
2019-10-01 12:50:34 -07:00
2022-04-01 17:58:07 -07:00
2022-04-21 09:37:11 -07:00
2020-12-10 14:09:23 -08:00
2019-10-01 12:50:34 -07:00
2021-03-19 21:00:59 -07:00
2021-03-19 21:00:59 -07:00
2019-10-01 12:50:34 -07:00
2019-11-12 08:59:06 -08:00
2022-04-01 09:53:54 -07:00
2019-10-01 12:50:34 -07:00
2019-10-01 12:50:34 -07:00
2020-05-04 15:25:48 -07:00
2019-11-12 08:59:06 -08:00
2021-05-26 15:26:06 -07:00
2019-11-12 08:59:06 -08:00
2019-11-12 08:59:06 -08:00
2022-01-24 12:57:50 -08:00
2019-11-12 08:59:06 -08:00
2022-01-25 12:52:51 -08:00
2020-02-27 09:30:45 -08:00
2019-11-12 08:59:06 -08:00
2019-11-12 08:59:06 -08:00
2019-10-01 12:50:34 -07:00
2022-08-04 16:57:49 -07:00
2019-10-01 12:50:34 -07:00
2022-05-12 09:12:32 -07:00
2021-03-19 21:00:59 -07:00
2019-10-01 12:50:34 -07:00
2020-11-02 22:01:10 +00:00
2022-06-01 09:59:37 -07:00
2022-01-25 12:53:00 -08:00
2021-05-27 14:27:29 -06:00
2020-02-07 11:03:53 -08:00
2020-06-09 21:24:09 -07:00
2022-06-01 09:59:37 -07:00
2021-04-01 08:37:41 -07:00
2022-03-28 09:52:55 -07:00
2019-10-01 12:50:34 -07:00
2020-12-09 21:22:54 -08:00
2019-11-12 08:59:06 -08:00
2019-11-12 08:59:06 -08:00
2019-11-12 08:59:06 -08:00
2021-03-19 21:00:59 -07:00
2019-11-12 08:59:06 -08:00
2019-11-12 08:59:06 -08:00
2022-08-08 16:18:30 -07:00
2021-04-15 13:34:35 -07:00
2021-04-15 13:34:35 -07:00
2021-04-15 13:34:35 -07:00
2021-09-08 12:59:43 -07:00
2019-10-01 12:50:34 -07:00
2021-03-19 21:00:59 -07:00
2022-06-01 09:59:37 -07:00
2019-10-01 12:50:34 -07:00
2021-05-20 16:02:36 -07:00
2019-10-01 12:50:34 -07:00
2019-10-01 12:50:34 -07:00
2019-11-12 08:59:06 -08:00
2022-06-10 09:51:46 -07:00
2020-07-19 09:56:21 -07:00
2019-11-12 08:59:06 -08:00
2019-10-01 12:50:34 -07:00
2022-06-01 09:59:37 -07:00
2019-11-12 08:59:06 -08:00
2019-10-01 12:50:34 -07:00
2022-05-31 12:04:17 -07:00
2019-10-01 12:50:34 -07:00
2022-06-01 09:59:37 -07:00
2019-10-01 12:50:34 -07:00
2022-06-01 09:59:37 -07:00
2019-10-01 12:50:34 -07:00
2022-09-06 10:02:18 -07:00
2022-03-14 12:37:39 -07:00
2019-11-12 08:59:06 -08:00
2022-09-08 10:29:41 -07:00
2019-04-19 12:09:29 -07:00
2020-06-22 09:46:37 -07:00
2020-06-22 09:46:37 -07:00
2021-01-02 16:55:55 -08:00
2019-04-19 12:09:29 -07:00
2019-08-30 09:40:30 -07:00
2019-04-19 12:09:29 -07:00
2019-04-19 12:09:29 -07:00
2020-09-12 08:22:07 -07:00
2022-06-29 14:08:54 -07:00
2022-05-10 10:20:09 -07:00
2022-05-26 09:24:50 -07:00
2020-07-14 17:32:21 -07:00
2022-02-09 12:50:10 -08:00
2022-03-28 10:24:22 -07:00
2020-07-10 14:26:00 -07:00
2021-01-02 16:55:55 -08:00
2020-07-10 14:26:12 -07:00
2022-03-28 10:24:22 -07:00
2021-07-13 13:50:48 -07:00
2020-07-10 14:26:40 -07:00
2020-07-10 14:26:40 -07:00
2021-01-02 16:55:55 -08:00
2022-01-06 11:26:40 -08:00
2020-07-10 14:26:40 -07:00
2020-07-10 14:26:40 -07:00
2020-07-10 14:26:40 -07:00
2021-01-02 16:55:55 -08:00
2020-07-30 09:09:46 -07:00
2014-03-31 16:11:13 -07:00
2022-05-10 10:19:58 -07:00
2022-05-10 10:19:58 -07:00
2021-01-02 16:55:55 -08:00
2020-07-10 14:26:40 -07:00
2022-05-10 10:17:55 -07:00
2022-06-27 14:18:50 -07:00
2021-11-11 13:27:37 -07:00