linux-f2fs-devel.lists.sourceforge.net archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/7] f2fs: remove checking dirty_exceed
@ 2014-12-15  7:27 Jaegeuk Kim
  2014-12-15  7:27 ` [PATCH 2/7] f2fs: fix wrong condition check to trigger f2fs_sync_fs Jaegeuk Kim
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: Jaegeuk Kim @ 2014-12-15  7:27 UTC (permalink / raw)
  To: linux-kernel, linux-fsdevel, linux-f2fs-devel; +Cc: Jaegeuk Kim

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 | 2 --
 1 file changed, 2 deletions(-)

diff --git a/fs/f2fs/node.c b/fs/f2fs/node.c
index f83326c..d6f073e 100644
--- 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;
-- 
2.1.1

^ permalink raw reply related	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2014-12-15  7:27 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-12-15  7:27 [PATCH 1/7] f2fs: remove checking dirty_exceed Jaegeuk Kim
2014-12-15  7:27 ` [PATCH 2/7] f2fs: fix wrong condition check to trigger f2fs_sync_fs Jaegeuk Kim
2014-12-15  7:27 ` [PATCH 3/7] f2fs: don't need to call lock_op and lock_page for abort Jaegeuk Kim
2014-12-15  7:27 ` [PATCH 4/7] f2fs: change atomic and volatile write policies Jaegeuk Kim
2014-12-15  7:27 ` [PATCH 5/7] f2fs: fix small discards not to issue redundantly Jaegeuk Kim
2014-12-15  7:27 ` [PATCH 6/7] f2fs: remove unnecessary call to invalidate inmemory pages Jaegeuk Kim
2014-12-15  7:27 ` [PATCH 7/7] f2fs: use missing the use of f2fs_kunmap_page Jaegeuk Kim

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).