projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0ded69f
)
f2fs: submit bio after shutdown
author
Jaegeuk Kim
<jaegeuk@kernel.org>
Thu, 6 Sep 2018 18:40:12 +0000
(11:40 -0700)
committer
Jaegeuk Kim
<jaegeuk@kernel.org>
Fri, 7 Sep 2018 21:26:43 +0000
(14:26 -0700)
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>
fs/f2fs/data.c
patch
|
blob
|
history
diff --git
a/fs/f2fs/data.c
b/fs/f2fs/data.c
index 8c204f896c22186f0e333872797dc87a2471ed1c..26f38b224bb2a3cdff47987225c010d1de97863b 100644
(file)
--- a/
fs/f2fs/data.c
+++ b/
fs/f2fs/data.c
@@
-533,6
+533,8
@@
skip:
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);
}