]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
gfs: Use fixed GL_GLOCK_MIN_HOLD time
authorAndreas Gruenbacher <agruenba@redhat.com>
Wed, 10 Dec 2025 09:21:53 +0000 (09:21 +0000)
committerAndreas Gruenbacher <agruenba@redhat.com>
Mon, 26 Jan 2026 13:28:17 +0000 (14:28 +0100)
commit536f48e8bbefcc067cb91d4edce452f3ff007ea6
treea75d4d5ecaf0fda7f4dc2a241ad8c03775da9cad
parentc45fefe3a930ba8a7fef0ed6ad509a02097dfa80
gfs: Use fixed GL_GLOCK_MIN_HOLD time

GL_GLOCK_MIN_HOLD represents the minimum time (in jiffies) that a glock
should be held before being eligible for release.  It is currently
defined as 10, meaning that the duration depends on the timer interrupt
frequency (CONFIG_HZ).  Change that time to a constant 10ms independent
of CONFIG_HZ.  On CONFIG_HZ=1000 systems, the value remains the same.

Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com>
fs/gfs2/glock.h