aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/netdev-times.py
diff options
context:
space:
mode:
authorJinke Han <[email protected]>2023-06-12 20:40:17 +0800
committerTheodore Ts'o <[email protected]>2023-10-05 21:48:03 -0400
commitce774e5365e46be73ed055302c6de123a03394ea (patch)
tree4e70a6a61055202735b7b5ad9858f5e127440b6a /tools/perf/scripts/python/netdev-times.py
parenta8c1eb77edfc92a64788dad70fedf9277cbafe76 (diff)
ext4: make running and commit transaction have their own freed_data_list
When releasing space in jbd, we traverse s_freed_data_list to get the free range belonging to the current commit transaction. In extreme cases, the time spent may not be small, and we have observed cases exceeding 10ms. This patch makes running and commit transactions manage their own free_data_list respectively, eliminating unnecessary traversal. And in the callback phase of the commit transaction, no one will touch it except the jbd thread itself, so s_md_lock is no longer needed. Signed-off-by: Jinke Han <[email protected]> Reviewed-by: Zhang Yi <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Theodore Ts'o <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions