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

Christoph Hellwig hch at infradead.org
Tue Sep 14 09:57:19 CDT 2010


On Tue, Sep 14, 2010 at 08:56:09PM +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.
> 
> Signed-off-by: Dave Chinner <dchinner at redhat.com>

Looks good,


Reviewed-by: Christoph Hellwig <hch at lst.de>




More information about the xfs mailing list