xfs
[Top] [All Lists]

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

To: Christoph Hellwig <hch@xxxxxxxxxxxxx>
Subject: Re: [PATCH 1/2] xfs: stop using xfs_trans_iget in the RT allocator
From: Alex Elder <aelder@xxxxxxx>
Date: Tue, 22 Feb 2011 19:52:38 -0600
Cc: xfs@xxxxxxxxxxx
In-reply-to: <20110213132531.GA18279@xxxxxxxxxxxxx>
References: <20110213132531.GA18279@xxxxxxxxxxxxx>
Reply-to: aelder@xxxxxxx
On Sun, 2011-02-13 at 08:25 -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
> end result with less overhead.
> 
> Signed-off-by: Christoph Hellwig <hch@xxxxxx>

Looks good.

Reviewed-by: Alex Elder <aelder@xxxxxxx>


<Prev in Thread] Current Thread [Next in Thread>