]> git.hungrycats.org Git - linux/commit
[PATCH] fix inode reclaim imbalance
authorAndrew Morton <akpm@digeo.com>
Thu, 6 Mar 2003 09:14:05 +0000 (01:14 -0800)
committerLinus Torvalds <torvalds@home.transmeta.com>
Thu, 6 Mar 2003 09:14:05 +0000 (01:14 -0800)
commitb5acedc896e206df30b881a53011d2fd06be36f3
tree02bdc4763f38e0dbf98f14d16f68c6d5559d2ef9
parentadf781b0c24e2b5ad46d23c285e3f9d02d7b1991
[PATCH] fix inode reclaim imbalance

Well I thought we were shooting down unused inodes a bit aggressively.  With
30,000 inodes total and 1000 unused, the 1000 are getting reclaimed
instantly.

shrink_icache_memory() needs to return the number of reclaimable inodes to
page reclaim, not the total number.
fs/inode.c