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

Alex Elder aelder at sgi.com
Tue Sep 14 17:21:17 CDT 2010


On Tue, 2010-09-14 at 20:56 +1000, Dave Chinner wrote:
> From: Dave Chinner <dchinner at redhat.com>
> 
> 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 at sgi.com>


> Signed-off-by: Dave Chinner <dchinner at redhat.com>
> ---





More information about the xfs mailing list