]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitf4a931b6ef1622e12d1615c582efd8ad9ae4c715
treec4b5d1d2b4486d0fec7dfee36f93f43d9ebbcb8b
parentf59bf4b198b911e72c480fc600b589f9427b3e12
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