f2fs: avoid inifinite loop to wait for flushing node pages at cp_error
authorJaegeuk Kim <jaegeuk@kernel.org>
Tue, 19 May 2020 01:00:33 +0000 (18:00 -0700)
committerJaegeuk Kim <jaegeuk@kernel.org>
Mon, 25 May 2020 03:54:34 +0000 (20:54 -0700)
commit6d7c865c2714b122a940774990cfb1d87b57294a
tree20c6006e251dde584f7a90dac94486eb72f66640
parent9c30df7c5a304e383592587cb2a41bb2ab0ac80d
f2fs: avoid inifinite loop to wait for flushing node pages at cp_error

Shutdown test is somtimes hung, since it keeps trying to flush dirty node pages
in an inifinite loop. Let's drop dirty pages at umount in that case.

Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/node.c