diff options
author | Bob Peterson <rpeterso@redhat.com> | 2022-08-18 20:32:37 +0200 |
---|---|---|
committer | Andreas Gruenbacher <agruenba@redhat.com> | 2022-08-25 17:11:14 +0200 |
commit | 053640a73838400dca23087d66a9c0db579adafb (patch) | |
tree | 42169cec2192266f57afe4c1228a3d3c96f471d2 /mm/Kconfig | |
parent | gfs2: Prevent double iput for journal on error (diff) | |
download | linux-053640a73838400dca23087d66a9c0db579adafb.tar.xz linux-053640a73838400dca23087d66a9c0db579adafb.zip |
gfs2: Dequeue waiters when withdrawn
When a withdraw occurs, ordinary (not system) glocks may not be granted
anymore. Later, when the file system is unmounted, gfs2_gl_hash_clear()
tries to clear out all the glocks, but these un-grantable pending
waiters prevent some glocks from being freed. So the unmount hangs, at
least for its ten-minute timeout period.
This patch takes measures to remove any pending waiters from
the glocks that will never be granted. This allows the unmount to
proceed in a reasonable period of time.
Signed-off-by: Bob Peterson <rpeterso@redhat.com>
Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com>
Diffstat (limited to 'mm/Kconfig')
0 files changed, 0 insertions, 0 deletions