diff options
author | Chao Yu <chao@kernel.org> | 2022-07-12 17:26:43 +0200 |
---|---|---|
committer | Jaegeuk Kim <jaegeuk@kernel.org> | 2022-07-31 05:17:06 +0200 |
commit | 0d5b9d8156396bbe1c982708b38ab9e188c45ec9 (patch) | |
tree | 1382ddb49e198f3c6b0d98d3840b336421939b86 /README | |
parent | f2fs: allow compression of files without blocks (diff) | |
download | linux-0d5b9d8156396bbe1c982708b38ab9e188c45ec9.tar.xz linux-0d5b9d8156396bbe1c982708b38ab9e188c45ec9.zip |
f2fs: invalidate meta pages only for post_read required inode
After commit e3b49ea36802 ("f2fs: invalidate META_MAPPING before
IPU/DIO write"), invalidate_mapping_pages() will be called to
avoid race condition in between IPU/DIO and readahead for GC.
However, readahead flow is only used for post_read required inode,
so this patch adds check condition to avoids unnecessary page cache
invalidating for non-post_read inode.
Signed-off-by: Chao Yu <chao.yu@oppo.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'README')
0 files changed, 0 insertions, 0 deletions