projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b3d574a
)
f2fs: remove checking dirty_exceed
author
Jaegeuk Kim
<jaegeuk@kernel.org>
Wed, 10 Dec 2014 23:18:34 +0000
(15:18 -0800)
committer
Jaegeuk Kim
<jaegeuk@kernel.org>
Sat, 10 Jan 2015 01:02:21 +0000
(17:02 -0800)
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: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/node.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/f2fs/node.c
b/fs/f2fs/node.c
index f83326ca32eff4eb17671c61cf9d0b20e0ab5853..d6f073edd8616eca1d03b95ac42a6cf6dfe99f4e 100644
(file)
--- a/
fs/f2fs/node.c
+++ b/
fs/f2fs/node.c
@@
-57,8
+57,6
@@
bool available_free_memory(struct f2fs_sb_info *sbi, int type)
} else if (type == INO_ENTRIES) {
int i;
- if (sbi->sb->s_bdi->dirty_exceeded)
- return false;
for (i = 0; i <= UPDATE_INO; i++)
mem_size += (sbi->im[i].ino_num *
sizeof(struct ino_entry)) >> PAGE_CACHE_SHIFT;