f2fs: fix to redirty page if fail to gc data page
authorChao Yu <yuchao0@huawei.com>
Sun, 3 Jul 2016 14:05:13 +0000 (22:05 +0800)
committerJaegeuk Kim <jaegeuk@kernel.org>
Fri, 8 Jul 2016 17:33:26 +0000 (10:33 -0700)
commit72e1c797b57da42ce8f75c5636720f40c4f607a2
treea40b43480bef62e66cfc7126235fb200b419384a
parent1563ac75e7e45adcdc1271e6bb55fe27a23d4e4e
f2fs: fix to redirty page if fail to gc data page

If we fail to move data page during foreground GC, we should give another
chance to writeback that page which was set dirty previously by writer.

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