All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/3] f2fs: clean up codes in get_ssr_segment
@ 2017-02-22 12:50 ` Yunlong Song
  0 siblings, 0 replies; 28+ messages in thread
From: Yunlong Song @ 2017-02-22 12:50 UTC (permalink / raw)
  To: jaegeuk, cm224.lee, yuchao0, chao, sylinux, yunlong.song, miaoxie
  Cc: bintian.wang, linux-fsdevel, linux-f2fs-devel, linux-kernel

Signed-off-by: Yunlong Song <yunlong.song@huawei.com>
---
 fs/f2fs/segment.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/fs/f2fs/segment.c b/fs/f2fs/segment.c
index df2ff5c..80997f5 100644
--- a/fs/f2fs/segment.c
+++ b/fs/f2fs/segment.c
@@ -1541,7 +1541,7 @@ static int get_ssr_segment(struct f2fs_sb_info *sbi, int type)
 	struct curseg_info *curseg = CURSEG_I(sbi, type);
 	const struct victim_selection *v_ops = DIRTY_I(sbi)->v_ops;
 
-	if (IS_NODESEG(type) || !has_not_enough_free_secs(sbi, 0, 0))
+	if (IS_NODESEG(type))
 		return v_ops->get_victim(sbi,
 				&(curseg)->next_segno, BG_GC, type, SSR);
 
-- 
1.8.5.2

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

end of thread, other threads:[~2017-02-25  2:17 UTC | newest]

Thread overview: 28+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-02-22 12:50 [PATCH 1/3] f2fs: clean up codes in get_ssr_segment Yunlong Song
2017-02-22 12:50 ` Yunlong Song
2017-02-22 12:50 ` [PATCH 2/3] f2fs: provide more chance to get node ssr Yunlong Song
2017-02-22 12:50   ` Yunlong Song
2017-02-22 12:50 ` [PATCH 3/3] f2fs: provide more chance for node and data to get ssr segment Yunlong Song
2017-02-22 12:50   ` Yunlong Song
2017-02-23  1:17   ` Jaegeuk Kim
2017-02-23  2:13     ` Yunlong Song
2017-02-23  2:13       ` Yunlong Song
2017-02-23  2:41       ` Yunlong Song
2017-02-23  2:41         ` Yunlong Song
2017-02-24  9:05     ` Chao Yu
2017-02-24  9:05       ` Chao Yu
2017-02-24  9:19       ` Yunlong Song
2017-02-24  9:19         ` Yunlong Song
2017-02-24 10:47         ` Chao Yu
2017-02-24 10:47           ` Chao Yu
2017-02-24 11:41           ` Yunlong Song
2017-02-24 11:41             ` Yunlong Song
2017-02-24 17:58             ` Jaegeuk Kim
     [not found]               ` <b5c6b4d.d7.15a7177d92d.Coremail.sylinux@163.com>
2017-02-24 20:05                 ` Jaegeuk Kim
2017-02-24 20:05                   ` Jaegeuk Kim
2017-02-25  2:16                   ` Yunlong Song
2017-02-25  2:16                     ` Yunlong Song
2017-02-23  0:41 ` [PATCH 1/3] f2fs: clean up codes in get_ssr_segment Jaegeuk Kim
2017-02-23  0:59   ` Jaegeuk Kim
2017-02-23  1:55     ` Yunlong Song
2017-02-23  1:55       ` Yunlong Song

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.