aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/libxed.py
diff options
context:
space:
mode:
authorBob Peterson <[email protected]>2023-08-30 12:57:47 +0000
committerAndreas Gruenbacher <[email protected]>2023-09-05 13:58:18 +0000
commit9f494e9bdcc54eaed94fcc8fe5d4d5a51c36834c (patch)
treeaadba00c4671998860ce21ab6a3fb92981cc739d /tools/perf/scripts/python/libxed.py
parentgfs2: Simplify function need_sync (diff)
downloadkernel-9f494e9bdcc54eaed94fcc8fe5d4d5a51c36834c.tar.gz
kernel-9f494e9bdcc54eaed94fcc8fe5d4d5a51c36834c.zip
gfs2: Don't try to sync non-changes
Function need_sync is supposed to determine if a qd element needs to be synced. If the "change" (qd_change) is zero, it does not need to be synced because there's literally no change in the value. Before this patch need_sync returned false if value < 0. That should be <= 0. This patch changes the check to <=. Signed-off-by: Bob Peterson <[email protected]> Signed-off-by: Andreas Gruenbacher <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/libxed.py')
0 files changed, 0 insertions, 0 deletions