提交 5ce80586 编写于 作者: J Jaegeuk Kim

f2fs: submit bio after shutdown

Sometimes, some merged IOs could get a chance to be submitted, resulting in
system hang in shutdown test. This issues IOs all the time after shutdown.
Signed-off-by: NJaegeuk Kim <jaegeuk@kernel.org>
上级 0ded69f6
......@@ -533,6 +533,8 @@ void f2fs_submit_page_write(struct f2fs_io_info *fio)
if (fio->in_list)
goto next;
out:
if (is_sbi_flag_set(sbi, SBI_IS_SHUTDOWN))
__submit_merged_bio(io);
up_write(&io->io_rwsem);
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册