From: Dave Chinner Date: Mon, 19 Jul 2010 22:07:02 +0000 (+1000) Subject: xfs: convert inode shrinker to per-filesystem contexts X-Git-Tag: v2.6.35-rc6~26^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=70e60ce71516c3a9e882edb70a09f696a05961db;p=pandora-kernel.git xfs: convert inode shrinker to per-filesystem contexts Now the shrinker passes us a context, wire up a shrinker context per filesystem. This allows us to remove the global mount list and the locking problems that introduced. It also means that a shrinker call does not need to traverse clean filesystems before finding a filesystem with reclaimable inodes. This significantly reduces scanning overhead when lots of filesystems are present. Signed-off-by: Dave Chinner Reviewed-by: Christoph Hellwig --- Reading git-diff-tree failed