提交 27c6bd60 编写于 作者: J Jaegeuk Kim

f2fs: submit bio for node blocks in the reclaim path

If a node page is request to be written during the reclaiming path, we should
submit the bio to avoid pending to recliam it.
Signed-off-by: NJaegeuk Kim <jaegeuk@kernel.org>
上级 67298804
......@@ -1326,6 +1326,10 @@ static int f2fs_write_node_page(struct page *page,
dec_page_count(sbi, F2FS_DIRTY_NODES);
up_read(&sbi->node_write);
unlock_page(page);
if (wbc->for_reclaim)
f2fs_submit_merged_bio(sbi, NODE, WRITE);
return 0;
redirty_out:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册