summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorBob Peterson <rpeterso@redhat.com>2023-06-23 08:07:55 -0500
committerAndreas Gruenbacher <agruenba@redhat.com>2023-09-05 15:58:18 +0200
commit7dbc6ae60dd7089d8ed42892b6a66c138f0aa7a0 (patch)
tree2e3f2fc69128b5e94541ed804366c947f9b2d016 /tools/perf/scripts/python/export-to-sqlite.py
parent3932e5073011567d24ce66cf66575d4d81ea8c94 (diff)
gfs2: introduce qd_bh_get_or_undo
This patch is an attempt to force some consistency in quota sync processing. Two functions (qd_fish and gfs2_quota_unlock) called qd_check_sync, after which they both called bh_get, and if that failed, they took the same steps to undo the actions of qd_check_sync. This patch introduces a new function, qd_bh_get_or_undo, which performs the same steps, reducing code redundancy. 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-sqlite.py')
0 files changed, 0 insertions, 0 deletions