f2fs: submit cached bio to avoid endless PageWriteback
authorChao Yu <yuchao0@huawei.com>
Wed, 12 Sep 2018 23:40:53 +0000 (07:40 +0800)
committerJaegeuk Kim <jaegeuk@kernel.org>
Tue, 16 Oct 2018 16:36:59 +0000 (09:36 -0700)
commit48018b4cfd07dd2df9a067fb3a6a3221c19eed11
treec4b5d1d2b4486d0fec7dfee36f93f43d9ebbcb8b
parent4354994f097d068a894aa1a0860da54571df3582
f2fs: submit cached bio to avoid endless PageWriteback

When migrating encrypted block from background GC thread, we only add
them into f2fs inner bio cache, but forget to submit the cached bio, it
may cause potential deadlock when we are waiting page writebacked, fix
it.

Signed-off-by: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/f2fs.h
fs/f2fs/gc.c
fs/f2fs/node.c