]> git.karo-electronics.de Git - linux-beck.git/commit
f2fs: don't try to split extents shorter than F2FS_MIN_EXTENT_LEN
authorFan Li <fanofcode.li@samsung.com>
Wed, 8 Jul 2015 08:02:54 +0000 (16:02 +0800)
committerJaegeuk Kim <jaegeuk@kernel.org>
Tue, 4 Aug 2015 21:09:58 +0000 (14:09 -0700)
commit3c7df87dad065a4656b13115593c59c8a324a108
treec3e4a40eaa16a1a55a2f3224351e491038f42db6
parent90d4388ac2cec0c83cad7315d3cd0065553430e1
f2fs: don't try to split extents shorter than F2FS_MIN_EXTENT_LEN

Since only parts of extents longer than F2FS_MIN_EXTENT_LEN will
be kept in extent cache after split, extents already shorter than
F2FS_MIN_EXTENT_LEN don't need to try split at all.

Signed-off-by: Fan Li <fanofcode.li@samsung.com>
Reviewed-by: Chao Yu <chao2.yu@samsung.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/data.c