]> git.baikalelectronics.ru Git - kernel.git/commit
f2fs: try to flush inode after merging inline data
authorChao Yu <chao2.yu@samsung.com>
Mon, 22 Feb 2016 10:35:46 +0000 (18:35 +0800)
committerJaegeuk Kim <jaegeuk@kernel.org>
Tue, 23 Feb 2016 05:40:02 +0000 (21:40 -0800)
commit7d0fdb11110d9b1626f935f784a3d95f6de89278
tree447accfc8261cd1e068dd0c55c3a029bf1784d0d
parent7332e31901f21a07e74667c932d4ad659fd38876
f2fs: try to flush inode after merging inline data

When flushing node pages, if current node page is an inline inode page, we
will try to merge inline data from data page into inline inode page, then
skip flushing current node page, it will decrease the number of nodes to
be flushed in batch in this round, which may lead to worse performance.

This patch gives a chance to flush just merged inline inode pages for
performance.

Signed-off-by: Chao Yu <chao2.yu@samsung.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/node.c