]> git.karo-electronics.de Git - karo-tx-linux.git/commit
f2fs: add missing f2fs_balance_fs in f2fs_zero_range
authorChao Yu <yuchao0@huawei.com>
Tue, 11 Oct 2016 14:57:02 +0000 (22:57 +0800)
committerJaegeuk Kim <jaegeuk@kernel.org>
Wed, 23 Nov 2016 20:10:52 +0000 (12:10 -0800)
commit9434fcde1fa0f48e1a29fbdd9d436fa279aeb909
tree71f44d4e4b98e757178535e9de64546cc3227a74
parent933439c8f3474e329709b715b43b0b8168bbecf8
f2fs: add missing f2fs_balance_fs in f2fs_zero_range

f2fs_balance_fs should be called in between node page updating, otherwise
node page count will exceeded far beyond watermark of triggering
foreground garbage collection, result in facing high risk of hitting LFS
allocation failure.

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