]> git.baikalelectronics.ru Git - kernel.git/commit
f2fs: only flush the single temp bio cache which owns the target page
authorYunlong Song <yunlong.song@huawei.com>
Tue, 13 Nov 2018 03:57:32 +0000 (11:57 +0800)
committerJaegeuk Kim <jaegeuk@kernel.org>
Mon, 26 Nov 2018 23:53:57 +0000 (15:53 -0800)
commite4883b7b6d559ee0a83b79cb592df05a6967e5d2
tree01d54996c574c0ca9bed8ee251f8c9788795ab9b
parent2718c78d17ba774c35ec853e293fa1ddc36f5743
f2fs: only flush the single temp bio cache which owns the target page

Previously, when f2fs finds which temp bio cache owns the target page,
it will flush all the three temp bio caches, but we only need to flush
one single bio cache indeed, which can help to keep bio merged.

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