diff options
author | hanjinke <hanjinke.666@bytedance.com> | 2022-06-06 17:53:05 +0200 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2022-08-03 05:52:19 +0200 |
commit | 218a69441bf7f65155b96584e354f12c28b7944a (patch) | |
tree | 60a95a16a6fc2be741d905cd6b829da3b71e3277 /fs/ext4/fast_commit.c | |
parent | ext4: update the s_overhead_clusters in the backup sb's when resizing (diff) | |
download | linux-218a69441bf7f65155b96584e354f12c28b7944a.tar.xz linux-218a69441bf7f65155b96584e354f12c28b7944a.zip |
ext4: reuse order and buddy in mb_mark_used when buddy split
After each buddy split, mb_mark_used will search the proper order
for the block which may consume some loop in mb_find_order_for_block.
In fact, we can reuse the order and buddy generated by the buddy split.
Reviewed by: lei.rao@intel.com
Signed-off-by: hanjinke <hanjinke.666@bytedance.com>
Link: https://lore.kernel.org/r/20220606155305.74146-1-hanjinke.666@bytedance.com
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Diffstat (limited to 'fs/ext4/fast_commit.c')
0 files changed, 0 insertions, 0 deletions