diff options
author | Chao Yu <[email protected]> | 2019-07-26 15:41:20 +0800 |
---|---|---|
committer | Jaegeuk Kim <[email protected]> | 2019-08-23 07:57:15 -0700 |
commit | 2fde3dd14efe8ceb21a92c2749394a5df61cb7df (patch) | |
tree | d22d83998c35e9c879500af0a68261b256ccbc00 /lib/test_overflow.c | |
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 <[email protected]>
Signed-off-by: Chao Yu <[email protected]>
Signed-off-by: Jaegeuk Kim <[email protected]>
Diffstat (limited to 'lib/test_overflow.c')
0 files changed, 0 insertions, 0 deletions