summaryrefslogtreecommitdiff
path: root/fs/gfs2/rgrp.c
diff options
context:
space:
mode:
authorBenjamin Marzinski <bmarzins@redhat.com>2009-07-10 18:04:24 -0500
committerSteven Whitehouse <swhiteho@redhat.com>2009-07-30 11:00:09 +0100
commit8ff22a6f9bdaac87c0eeb1d56c736181f11b4221 (patch)
tree00b0ad7afe45497d251adb244baf6875a0744985 /fs/gfs2/rgrp.c
parent1e19a19584b332eb92a573b66b7342fb97e67507 (diff)
GFS2: Don't put unlikely reclaim candidates on the reclaim list.
GFS2 was placing far too many glocks on the reclaim list that were not good candidates for freeing up from cache. These locks would sit there and repeatedly get scanned to see if they could be reclaimed, wasting a lot of time when there was memory pressure. This fix does more checks on the locks to see if they are actually likely to be removable from cache. Signed-off-by: Benjamin Marzinski <bmarzins@redhat.com> Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
Diffstat (limited to 'fs/gfs2/rgrp.c')
0 files changed, 0 insertions, 0 deletions