diff options
author | Chao Yu <yuchao0@huawei.com> | 2019-07-26 10:41:20 +0300 |
---|---|---|
committer | Jaegeuk Kim <jaegeuk@kernel.org> | 2019-08-23 17:57:15 +0300 |
commit | 2fde3dd14efe8ceb21a92c2749394a5df61cb7df (patch) | |
tree | d22d83998c35e9c879500af0a68261b256ccbc00 /fs/ecryptfs | |
parent | 4507847c86bfc64e9bdce941a0f707560d3df98a (diff) | |
download | linux-2fde3dd14efe8ceb21a92c2749394a5df61cb7df.tar.xz |
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>
Diffstat (limited to 'fs/ecryptfs')
0 files changed, 0 insertions, 0 deletions