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>
Fri, 26 Oct 2018 18:26:33 +0000 (11:26 -0700)
commitd5f0cb33ab402526f3483314cecaf0c1ec8bf49b
tree7afb43e4bfeb0fe4306aaea75630f7dd040437be
parent7ea0d208d6597df11f7ad965ffd2632c18aa461e
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