commit | 60208e20e0067cf3fff803b1f5cfdfa83b48b89d | [log] [tgz] |
---|---|---|
author | Jaegeuk Kim <jaegeuk@kernel.org> | Thu Sep 06 11:40:12 2018 -0700 |
committer | Jaegeuk Kim <jaegeuk@kernel.org> | Fri Oct 26 11:33:08 2018 -0700 |
tree | d959b2daa0c3cf2e0c0904c2961f116891b7feae | |
parent | 0d51ceaf505622246c3f8c987b8d6b4586a85e6f [diff] [blame] |
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: Jaegeuk Kim <jaegeuk@kernel.org>
diff --git a/fs/f2fs/data.c b/fs/f2fs/data.c index fbded21..3b951d2 100644 --- a/fs/f2fs/data.c +++ b/fs/f2fs/data.c
@@ -531,6 +531,8 @@ 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); }