From: Dave Chinner Date: Tue, 20 Jul 2010 07:53:25 +0000 (+1000) Subject: xfs: simplify and remove xfs_ireclaim X-Git-Tag: v2.6.36-rc1~589^2~16 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2f11feabb19748c0ffa2eb82d438e8a91b9f6ea0;p=pandora-kernel.git xfs: simplify and remove xfs_ireclaim xfs_ireclaim has to get and put te pag structure because it is only called with the inode to reclaim. The one caller of this function already has a reference on the pag and a pointer to is, so move the radix tree delete to the caller and remove xfs_ireclaim completely. This avoids a xfs_perag_get/put on every inode being reclaimed. The overhead was noticed in a bug report at: https://bugzilla.kernel.org/show_bug.cgi?id=16348 Signed-off-by: Dave Chinner Reviewed-by: Christoph Hellwig Reviewed-by: Alex Elder Signed-off-by: Dave Chinner --- Reading git-diff-tree failed