commit | 25a912e51af7c0761a6d3424640901ded517e201 | [log] [tgz] |
---|---|---|
author | Chao Yu <yuchao0@huawei.com> | Wed Jan 10 18:18:51 2018 +0800 |
committer | Jaegeuk Kim <jaegeuk@kernel.org> | Thu Jan 18 22:09:08 2018 -0800 |
tree | 93d2e1ed682a596091dcf7709f89d3a65bdbf966 | |
parent | f1d2564a7cc9d2f49399094cfe3c46c9d4930b7b [diff] |
f2fs: fix to caclulate required free section correctly When calculating required free section during file defragmenting, we should skip holes in file, otherwise we will probably fail to defrag sparse file with large size. Signed-off-by: Chao Yu <yuchao0@huawei.com> Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>