]> git.ipfire.org Git - people/ms/linux.git/commit - fs/f2fs/data.c
f2fs: speed up defragment on sparse file
authorChao Yu <yuchao0@huawei.com>
Wed, 10 Jan 2018 10:18:52 +0000 (18:18 +0800)
committerJaegeuk Kim <jaegeuk@kernel.org>
Mon, 22 Jan 2018 22:56:46 +0000 (14:56 -0800)
commitf3d98e74fcddb23dba00a88145272fc8223baaee
tree24589242c5fd6510883f0a090ea9f253ddce9f7c
parentc4020b2da4c9e84d63e30ce5a85dc287507f0e60
f2fs: speed up defragment on sparse file

We have supported to get next page offset with valid mapping crossing
hole in f2fs_map_blocks, utilizing it to speed up defragment on sparse
file.

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