summaryrefslogtreecommitdiffstats
path: root/fs/f2fs/gc.c
diff options
context:
space:
mode:
authorChao Yu <chao@kernel.org>2022-07-12 23:26:43 +0800
committerJaegeuk Kim <jaegeuk@kernel.org>2022-07-30 20:17:06 -0700
commit0d5b9d8156396bbe1c982708b38ab9e188c45ec9 (patch)
tree1382ddb49e198f3c6b0d98d3840b336421939b86 /fs/f2fs/gc.c
parenta8634ccf5d626506100bb753327e36e6c6b3df70 (diff)
downloadlinux-stable-0d5b9d8156396bbe1c982708b38ab9e188c45ec9.tar.gz
linux-stable-0d5b9d8156396bbe1c982708b38ab9e188c45ec9.tar.bz2
linux-stable-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 'fs/f2fs/gc.c')
0 files changed, 0 insertions, 0 deletions