xfs
[Top] [All Lists]

Re: [PATCH 10/18] xfs: store xfs_mount in the buftarg instead of in the

To: Dave Chinner <david@xxxxxxxxxxxxx>
Subject: Re: [PATCH 10/18] xfs: store xfs_mount in the buftarg instead of in the xfs_buf
From: Alex Elder <aelder@xxxxxxx>
Date: Tue, 14 Sep 2010 17:21:17 -0500
Cc: xfs@xxxxxxxxxxx
In-reply-to: <1284461777-1496-11-git-send-email-david@xxxxxxxxxxxxx>
References: <1284461777-1496-1-git-send-email-david@xxxxxxxxxxxxx> <1284461777-1496-11-git-send-email-david@xxxxxxxxxxxxx>
Reply-to: aelder@xxxxxxx
On Tue, 2010-09-14 at 20:56 +1000, Dave Chinner wrote:
> From: Dave Chinner <dchinner@xxxxxxxxxx>
> 
> Each buffer contains both a buftarg pointer and a mount pointer. If
> we add a mount pointer into the buftarg, we can avoid needing the
> b_mount field in every buffer and grab it from the buftarg when
> needed instead. This shrinks the xfs_buf by 8 bytes.

Looks good.

Reviewed-by: Alex Elder <aelder@xxxxxxx>


> Signed-off-by: Dave Chinner <dchinner@xxxxxxxxxx>
> ---


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