diff options
| author | Andreas Gruenbacher <[email protected]> | 2024-10-28 21:18:32 +0000 |
|---|---|---|
| committer | Andreas Gruenbacher <[email protected]> | 2024-11-05 11:39:29 +0000 |
| commit | b6900ce15191ff9e219f1974b5db107ae02bb387 (patch) | |
| tree | def17bd4f5c5ef1c0d6f68bee3a98cd9e79a572a /rust/helpers/vmalloc.c | |
| parent | gfs2: gfs2_evict_inode clarification (diff) | |
| download | kernel-b6900ce15191ff9e219f1974b5db107ae02bb387.tar.gz kernel-b6900ce15191ff9e219f1974b5db107ae02bb387.zip | |
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 <[email protected]>
Diffstat (limited to 'rust/helpers/vmalloc.c')
0 files changed, 0 insertions, 0 deletions
