mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-11-13 07:31:07 +00:00
Revert "GFS2: Don't add all glocks to the lru"
This reverts commite7ccaf5fe1. Before commite7ccaf5fe1, every time a resource group glock was dequeued by gfs2_glock_dq(), it was added to the glock LRU list even though the glock was still referenced by the resource group and could never be evicted, anyway. Commite7ccaf5fe1added a GLOF_LRU hack to avoid that overhead for resource group glocks, and that hack was since adopted for some other types of glocks as well. We now no longer add glocks to the glock LRU list while they are still referenced. This solves the underlying problem, and obsoletes the GLOF_LRU hack. Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com> (cherry picked from commit 3e5257c810cba91e274d07f3db5cf013c7c830be)
This commit is contained in:
parent
767fd5a016
commit
3f4475bf24
3 changed files with 4 additions and 12 deletions
Loading…
Add table
Add a link
Reference in a new issue