summaryrefslogtreecommitdiff
path: root/fs/ramfs
diff options
context:
space:
mode:
authorChao Yu <yuchao0@huawei.com>2017-10-30 12:49:54 +0300
committerJaegeuk Kim <jaegeuk@kernel.org>2017-11-06 03:42:04 +0300
commitbf34c93d264509422e9eb11e2dbcea8d8e875efd (patch)
tree1c46aea5d501c1965ec7b8b8f2ff178252c946b6 /fs/ramfs
parent3d26fa6be3c487fac7d87dc4a6f02a9ff0f6b1ef (diff)
downloadlinux-bf34c93d264509422e9eb11e2dbcea8d8e875efd.tar.xz
f2fs: check curseg space before foreground GC
When we are closing to trigger foreground GC, if there are only a few of dirty metas, we can log these dirty metas in left space of opened segments instead of triggering foreground GC. With this patch, total count of foreground GC triggered by test/generic/* of fstest suit reduce from 254 to 184. So let's do the check before foreground GC anyway. Signed-off-by: Chao Yu <yuchao0@huawei.com> Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'fs/ramfs')
0 files changed, 0 insertions, 0 deletions