diff options
author | Kemeng Shi <[email protected]> | 2023-09-29 00:04:00 +0800 |
---|---|---|
committer | Theodore Ts'o <[email protected]> | 2023-10-05 22:32:15 -0400 |
commit | 2f94711b098bc55285ac74aba2f2b83fd72b555f (patch) | |
tree | 29d184b598bc564f163c530809d81c9d46078fb6 /tools/perf/util/trace-event-scripting.c | |
parent | c431d3867e0a8258d1948408eb8297cdd2400e67 (diff) |
ext4: call ext4_mb_mark_context in ext4_mb_mark_diskspace_used
Call ext4_mb_mark_context in ext4_mb_mark_diskspace_used to:
1. Remove repeat code to normally update bitmap and group descriptor
on disk.
2. Now that we have a common API for marking blocks inuse/free in block
bitmap, use that instead of open coding it in function
ext4_mb_mark_diskspace_used(). The current code was not updating
checksum and other counters. ext4_mb_mark_context() should fix these
consistency problems.
Signed-off-by: Kemeng Shi <[email protected]>
Reviewed-by: "Ritesh Harjani (IBM)" <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Theodore Ts'o <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions