diff options
author | Andreas Gruenbacher <agruenba@redhat.com> | 2024-03-30 07:08:32 +0300 |
---|---|---|
committer | Andreas Gruenbacher <agruenba@redhat.com> | 2024-05-29 16:34:55 +0300 |
commit | 3f4475bf24de31cce4a0c7d1372d4ab02b1f1407 (patch) | |
tree | c08a15ad5fbda687bdc7c703c66f38f402cc43ce /Documentation/filesystems | |
parent | 767fd5a0160774178a597b7a7b6e07915fe00efa (diff) | |
download | linux-3f4475bf24de31cce4a0c7d1372d4ab02b1f1407.tar.xz |
Revert "GFS2: Don't add all glocks to the lru"
This reverts commit e7ccaf5fe1590667b3fa2f8df5c5ec9ba0dc5b85.
Before commit e7ccaf5fe159, 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. Commit e7ccaf5fe159 added 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)
Diffstat (limited to 'Documentation/filesystems')
0 files changed, 0 insertions, 0 deletions