diff options
author | Bob Peterson <rpeterso@redhat.com> | 2023-08-30 07:57:47 -0500 |
---|---|---|
committer | Andreas Gruenbacher <agruenba@redhat.com> | 2023-09-05 15:58:18 +0200 |
commit | 9f494e9bdcc54eaed94fcc8fe5d4d5a51c36834c (patch) | |
tree | aadba00c4671998860ce21ab6a3fb92981cc739d /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 2a4f651167560adae05e644e41d2666d727c549b (diff) |
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 <rpeterso@redhat.com>
Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions