diff options
author | 2024-07-08 21:46:16 +0200 | |
---|---|---|
committer | 2024-07-09 10:40:03 +0200 | |
commit | f75efefb6db305b5b5c56a9b9ae2d72b54f20780 (patch) | |
tree | 029cbce4696cf6dcbde0f5ef0f5b0bc3170b5262 /scripts/generate_rust_analyzer.py | |
parent | gfs2: Revert "check for no eligible quota changes" (diff) | |
download | wireguard-linux-f75efefb6db305b5b5c56a9b9ae2d72b54f20780.tar.xz wireguard-linux-f75efefb6db305b5b5c56a9b9ae2d72b54f20780.zip |
gfs2: Clean up glock demote logic
The logic for determining when to demote a glock in glock_work_func(),
introduced in commit 7cf8dcd3b68a ("GFS2: Automatically adjust glock min
hold time"), doesn't make sense: inode glocks have a minimum hold time
that delays demotion, while all other glocks are expected to be demoted
immediately. Instead of demoting non-inode glocks immediately,
glock_work_func() schedules glock work for them to be demoted, however.
Get rid of that unnecessary indirection.
Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions