xfs
[Top] [All Lists]

Re: [PATCH 4/6] embededd struct xfs_imap into xfs_inode

To: Christoph Hellwig <hch@xxxxxxxxxxxxx>
Subject: Re: [PATCH 4/6] embededd struct xfs_imap into xfs_inode
From: Dave Chinner <david@xxxxxxxxxxxxx>
Date: Mon, 3 Nov 2008 12:27:25 +1100
Cc: xfs@xxxxxxxxxxx
In-reply-to: <20081027134126.GE3183@xxxxxxxxxxxxx>
Mail-followup-to: Christoph Hellwig <hch@xxxxxxxxxxxxx>, xfs@xxxxxxxxxxx
References: <20081027134126.GE3183@xxxxxxxxxxxxx>
User-agent: Mutt/1.5.18 (2008-05-17)
On Mon, Oct 27, 2008 at 09:41:26AM -0400, Christoph Hellwig wrote:
> Most uses of struct xfs_imap are to map and inode to a buffer.  To avoid
> copying around the inode location information we should just embedd a
> strcut xfs_imap into the xfs_inode.  To make sure it doesn't bloat an
> inode the im_len is changed to a ushort, which is fine as that's what
> the users exepect anyway.
> 
> 
> Signed-off-by: Christoph Hellwig <hch@xxxxxx>

Reviewed-by: Dave Chinner <david@xxxxxxxxxxxxx>

-- 
Dave Chinner
david@xxxxxxxxxxxxx

<Prev in Thread] Current Thread [Next in Thread>
  • Re: [PATCH 4/6] embededd struct xfs_imap into xfs_inode, Dave Chinner <=