commit | 2fde3dd14efe8ceb21a92c2749394a5df61cb7df | [log] [tgz] |
---|---|---|
author | Chao Yu <yuchao0@huawei.com> | Fri Jul 26 15:41:20 2019 +0800 |
committer | Jaegeuk Kim <jaegeuk@kernel.org> | Fri Aug 23 07:57:15 2019 -0700 |
tree | d22d83998c35e9c879500af0a68261b256ccbc00 | |
parent | 4507847c86bfc64e9bdce941a0f707560d3df98a [diff] |
f2fs: allocate memory in batch in build_sit_info() build_sit_info() allocate all bitmaps for each segment one by one, it's quite low efficiency, this pach changes to allocate large continuous memory at a time, and divide it and assign for each bitmaps of segment. For large size image, it can expect improving its mount speed. Signed-off-by: Chen Gong <gongchen4@huawei.com> Signed-off-by: Chao Yu <yuchao0@huawei.com> Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>