commit | f1121ab0ba9ab9c1592049533b511877600f409e | [log] [tgz] |
---|---|---|
author | Chao Yu <chao2.yu@samsung.com> | Mon Jul 14 16:45:15 2014 +0800 |
committer | Jaegeuk Kim <jaegeuk@kernel.org> | Tue Jul 15 13:56:49 2014 -0700 |
tree | ee9f8ef4ae8069a9e6decb45f72e72d910d11e0a | |
parent | 4b2868aa4f07eeb64e96c2e0823387c426eca356 [diff] |
f2fs: reduce searching region of segmap when free section In __set_test_and_free we will check whether all segment are free in one section When free one segment, in order to set section to free status. But the searching region of segmap is from start segno to last segno of f2fs, it's not necessary. So let's just only check all segment bitmap of target section. Signed-off-by: Chao Yu <chao2.yu@samsung.com> Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>