aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorAndreas Gruenbacher <agruenba@redhat.com>2025-02-05 17:16:38 +0100
committerAndreas Gruenbacher <agruenba@redhat.com>2025-03-10 18:15:38 +0100
commita431d49243a012738f132054b2303e0815663aac (patch)
tree7ed818af45907856b16c79b22f7fae923dd22fba /tools/perf/scripts/python/export-to-postgresql.py
parentgfs2: Check for empty queue in run_queue (diff)
downloadwireguard-linux-a431d49243a012738f132054b2303e0815663aac.tar.xz
wireguard-linux-a431d49243a012738f132054b2303e0815663aac.zip
gfs2: Fix request cancelation bug
In finish_xmote(), when a locking request is canceled, the corresponding holder is moved to the tail of the holders list instead of being dequeued immediately. When there is only a single holder, the canceled locking request is then immediately repeated. This makes no sense; it looks like another remnant of LM_FLAG_PRIORITY support. Instead, dequeue canceled holders and proceed with the next holder in finish_xmote(). We can then easily detect in gfs2_glock_dq() when a holder has been canceled. 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