Commit eb7e813c authored by Chao Yu's avatar Chao Yu Committed by Jaegeuk Kim
Browse files

f2fs: fix to remove directory inode from dirty list

If last dirty dentry page was writebacked in reclaim path, we should
remove its directory inode from global dirty list to avoid unnecessary
flush for this inode when doing checkpoint.

Signed-off-by: default avatarChao Yu <>
Signed-off-by: default avatarJaegeuk Kim <>
parent 04ef4b62
......@@ -1182,8 +1182,10 @@ static int f2fs_write_data_page(struct page *page,
if (need_balance_fs)
if (wbc->for_reclaim)
if (wbc->for_reclaim) {
f2fs_submit_merged_bio(sbi, DATA, WRITE);
return 0;
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment