diff options
author | hanjinke <hanjinke.666@bytedance.com> | 2022-06-06 23:53:05 +0800 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2022-08-02 23:52:19 -0400 |
commit | 218a69441bf7f65155b96584e354f12c28b7944a (patch) | |
tree | 60a95a16a6fc2be741d905cd6b829da3b71e3277 /fs/ext4/super.c | |
parent | 827891a38accfb4e04dbcdefe710f8746c6ad16d (diff) | |
download | linux-stable-218a69441bf7f65155b96584e354f12c28b7944a.tar.gz linux-stable-218a69441bf7f65155b96584e354f12c28b7944a.tar.bz2 linux-stable-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/super.c')
0 files changed, 0 insertions, 0 deletions