Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 60208e20 authored by Jaegeuk Kim's avatar Jaegeuk Kim
Browse files

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: default avatarJaegeuk Kim <jaegeuk@kernel.org>
parent 0d51ceaf
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -531,6 +531,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);
}