Dave Chinner 2f11feabb1 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 <dchinner@redhat.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Alex Elder <aelder@sgi.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
2010-07-26 13:16:48 -05:00
..
2010-07-26 13:16:44 -05:00
2010-07-26 13:16:33 -05:00
2009-06-10 17:07:47 +02:00
2010-05-21 18:31:19 -04:00
2009-06-10 17:07:47 +02:00
2009-12-14 23:08:16 -06:00
2009-03-29 09:51:14 +02:00
2007-10-15 16:49:49 +10:00
2009-03-29 09:55:42 +02:00
2007-10-15 16:49:49 +10:00
2008-12-01 11:37:35 +11:00
2010-07-26 13:16:44 -05:00
2010-07-26 13:16:44 -05:00
2009-08-31 14:46:22 -05:00
2010-07-26 13:16:44 -05:00
2010-07-26 13:16:33 -05:00
2010-07-26 13:16:44 -05:00
2010-07-26 13:16:33 -05:00
2010-07-26 13:16:44 -05:00
2010-03-01 16:35:44 -06:00
2009-12-14 23:08:16 -06:00