[PATCH 1/2] xfs: stop using xfs_trans_iget in the RT allocator

Dave Chinner david at fromorbit.com
Tue Feb 22 18:49:46 CST 2011


On Sun, Feb 13, 2011 at 08:25:31AM -0500, Christoph Hellwig wrote:
> During mount we establish references to the RT inodes, which we keep for
> the lifetime of the filesystem.  Instead of using xfs_trans_iget to grab
> additional references when adding RT inodes to transactions use the
> combination of xfs_ilock and xfs_trans_ijoin_ref, which archives the same
                                                          achieves
> end result with less overhead.
> 
> Signed-off-by: Christoph Hellwig <hch at lst.de>

Looks good.

Reviewed-by: Dave Chinner <dchinner at redhat.com>
-- 
Dave Chinner
david at fromorbit.com




More information about the xfs mailing list