diff options
author | Andreas Gruenbacher <agruenba@redhat.com> | 2024-06-07 02:23:54 +0200 |
---|---|---|
committer | Andreas Gruenbacher <agruenba@redhat.com> | 2024-06-08 02:34:56 +0200 |
commit | 59ebc33201237bf38e5adca3794716100660c5b4 (patch) | |
tree | 45f28de868c5f5beba38bd49dc66b95328cfae1b /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 2aedfe847b4d91eabee11a44c27244055cef4eb3 (diff) |
gfs2: qd_check_sync cleanups
Rename qd_check_sync() to qd_grab_sync() and make it return a bool.
Turn the sync_gen pointer into a regular u64 and pass in U64_MAX instead
of a NULL pointer when sync generation checking isn't needed.
Introduce a new qd_ungrab_sync() helper for undoing the effects of
qd_grab_sync() if the subsequent bh_get() on the qd object fails.
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