Commit cd52b636 authored by Jaegeuk Kim's avatar Jaegeuk Kim

f2fs: remove checking dirty_exceed

We don't need to force to write dirty_exceeded for f2fs_balance_fs_bg.
This flag was only meaningful to write bypassing conditions.
Signed-off-by: default avatarJaegeuk Kim <jaegeuk@kernel.org>
parent b3d574ae
...@@ -57,8 +57,6 @@ bool available_free_memory(struct f2fs_sb_info *sbi, int type) ...@@ -57,8 +57,6 @@ bool available_free_memory(struct f2fs_sb_info *sbi, int type)
} else if (type == INO_ENTRIES) { } else if (type == INO_ENTRIES) {
int i; int i;
if (sbi->sb->s_bdi->dirty_exceeded)
return false;
for (i = 0; i <= UPDATE_INO; i++) for (i = 0; i <= UPDATE_INO; i++)
mem_size += (sbi->im[i].ino_num * mem_size += (sbi->im[i].ino_num *
sizeof(struct ino_entry)) >> PAGE_CACHE_SHIFT; sizeof(struct ino_entry)) >> PAGE_CACHE_SHIFT;
......
Markdown is supported
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