diff options
author | 2021-09-13 12:54:16 -0500 | |
---|---|---|
committer | 2021-10-25 08:42:17 +0200 | |
commit | c1442f6b53d887d08a098ec23056be7cfea1e3c7 (patch) | |
tree | 0c6ddb607a901f3cef47fcd2d86989999b2eef87 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | gfs2: Add GL_SKIP holder flag to dump_holder (diff) | |
download | wireguard-linux-c1442f6b53d887d08a098ec23056be7cfea1e3c7.tar.xz wireguard-linux-c1442f6b53d887d08a098ec23056be7cfea1e3c7.zip |
gfs2: move GL_SKIP check from glops to do_promote
Before this patch, each individual "go_lock" glock operation (glop)
checked the GL_SKIP flag, and if set, would skip further processing.
This patch changes the logic so the go_lock caller, function go_promote,
checks the GL_SKIP flag before calling the go_lock op in the first place.
This avoids having to unnecessarily unlock gl_lockref.lock only to
re-lock it again.
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