summaryrefslogtreecommitdiff
path: root/scripts/generate_rust_analyzer.py
diff options
context:
space:
mode:
authorAndreas Gruenbacher <agruenba@redhat.com>2024-10-28 22:18:32 +0100
committerAndreas Gruenbacher <agruenba@redhat.com>2024-11-05 12:39:29 +0100
commitb6900ce15191ff9e219f1974b5db107ae02bb387 (patch)
treedef17bd4f5c5ef1c0d6f68bee3a98cd9e79a572a /scripts/generate_rust_analyzer.py
parent03ff3781bf6c149554d88e7b702a3abd5e400dc0 (diff)
gfs2: Simplify DLM_LKF_QUECVT use
The DLM_LKF_QUECVT flag needs to be set for "upward" lock conversions to ensure fairness, but setting it for "downward" lock conversions will lead to a failure. The flag is currently set based on the GLF_BLOCKING flag and it's not immediately obvious why this is correct. Simplify things by figuring out if a lock conversion is "upward" by looking at the before and after locking modes instead of relying on the GLF_BLOCKING flag. Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions