diff options
| author | Andreas Gruenbacher <agruenba@redhat.com> | 2024-05-08 11:57:08 +0200 |
|---|---|---|
| committer | Andreas Gruenbacher <agruenba@redhat.com> | 2026-07-19 15:19:21 +0200 |
| commit | c6963f393a12e6a68de1a5af8e97a02f87bea583 (patch) | |
| tree | 9abe7725a8d82b9eac14b2a4830e8284f700d842 /drivers/media/platform/amd/git@git.tavy.me:linux.git | |
| parent | 864174f976474bfa7b787ec654733febe3b03f84 (diff) | |
gfs2: Skip dlm unlocks earlier
When we were still caching unreferenced glocks, evicting all the cached inodes
in gfs2_kill_sb() did put the unreferenced glocks onto the glock lru list, and
they would be freed in gfs2_gl_hash_clear(). We could set the
SDF_SKIP_DLM_UNLOCK flag in gfs2_gl_hash_clear() to indicate to gdlm_put_lock()
to skip unlocking glocks explicitly when possible. Now, glocks are demoted and
dropped immediately though, so to allow gdlm_put_lock() to skip unnecessary
unlocking, we need to set some "unmount" flag before calling
gfs2_evict_inodes(). We can use the existing SDF_KILL flag for that if we set
it before calling gfs2_evict_inodes() in gfs2_kill_sb().
Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com>
Diffstat (limited to 'drivers/media/platform/amd/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions
