diff options
author | Fengnan Chang <changfengnan@vivo.com> | 2021-11-29 10:13:41 +0800 |
---|---|---|
committer | Jaegeuk Kim <jaegeuk@kernel.org> | 2021-12-10 15:48:32 -0800 |
commit | e64347ae13dadba7b847776521a51c94c56605e9 (patch) | |
tree | 0395168435cca7b25497c159fff6f830e6e3d919 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | d1917865a7906baf6b687e15e8e6195a295a3992 (diff) |
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/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions