]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
GFS2: Shrink the shrinker
authorSteven Whitehouse <swhiteho@redhat.com>
Thu, 25 Jun 2009 15:30:26 +0000 (16:30 +0100)
committerSteven Whitehouse <swhiteho@redhat.com>
Thu, 30 Jul 2009 09:52:14 +0000 (10:52 +0100)
commit2163b1e616c41c286f5ab79912671cd4bf52057c
tree5f7170d724c69e0f51857367b5de5a2c0e9bdbae
parent4be3bd7849165e7efa6b0b35a23d6a3598d97465
GFS2: Shrink the shrinker

This patch removes some of the special cases that the shrinker
was trying to deal with. As a result we leave fewer items on
the list and none at all which cannot be demoted. This makes
the list scanning more efficient and solves some issues seen
with large numbers of inodes.

Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
fs/gfs2/glock.c