diff options
author | 2021-11-29 10:13:41 +0800 | |
---|---|---|
committer | 2021-12-10 15:48:32 -0800 | |
commit | e64347ae13dadba7b847776521a51c94c56605e9 (patch) | |
tree | 0395168435cca7b25497c159fff6f830e6e3d919 /tools/testing/selftests/bpf/prog_tests/autoload.c | |
parent | f2fs: fix remove page failed in invalidate compress pages (diff) | |
download | linux-dev-e64347ae13dadba7b847776521a51c94c56605e9.tar.xz linux-dev-e64347ae13dadba7b847776521a51c94c56605e9.zip |
f2fs: support POSIX_FADV_DONTNEED drop compressed page cache
Previously, compressed page cache drop when clean page cache, but
POSIX_FADV_DONTNEED can't clean compressed page cache because raw page
don't have private data, and won't call f2fs_invalidate_compress_pages.
This commit call f2fs_invalidate_compress_pages() directly in
f2fs_file_fadvise() for POSIX_FADV_DONTNEED case.
Signed-off-by: Fengnan Chang <changfengnan@vivo.com>
Reviewed-by: Chao Yu <chao@kernel.org>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/autoload.c')
0 files changed, 0 insertions, 0 deletions