Commit 8ff22a6f authored by Committed by Steven Whitehouse
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 <email@example.com> Signed-off-by: Steven Whitehouse <firstname.lastname@example.org>
Showing with 46 additions and 26 deletions