f2fs: do SSR for data when there is enough free space
authorYunlong Song <yunlong.song@huawei.com>
Wed, 22 Feb 2017 12:50:49 +0000 (20:50 +0800)
committerJaegeuk Kim <jaegeuk@kernel.org>
Fri, 24 Feb 2017 17:39:52 +0000 (09:39 -0800)
commit035e97adab26c1121cedaeb9bd04cf48a8e8cf51
treebbfa52fb666a0aeb496553ecc51310f67e6cb5a2
parentb9cd20619e359d199b755543474c3d853c8e3415
f2fs: do SSR for data when there is enough free space

In allocate_segment_by_default(), need_SSR() already detected it's time to do
SSR. So, let's try to find victims for data segments more aggressively in time.

Signed-off-by: Yunlong Song <yunlong.song@huawei.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/segment.c