[PATCH 05/12] xfs: remote attribute allocation may be contiguous

Ben Myers bpm at sgi.com
Mon Aug 5 16:54:35 CDT 2013


On Fri, Jun 07, 2013 at 10:24:54PM +1000, Dave Chinner wrote:
> From: Dave Chinner <dchinner at redhat.com>
> 
> When CRCs are enabled, there may be multiple allocations made if the
> headers cause a length overflow. This, however, does not mean that
> the number of headers required increases, as the second and
> subsequent extents may be contiguous with the previous extent. Hence
> when we map the extents to write the attribute data, we may end up
> with less extents than allocations made. Hence the assertion that we
> consume th enumber of headers we calculated in the allocation loop
> is incorrect and needs to be removed.
> 
> Signed-off-by: Dave Chinner <dchinner at redhat.com>

Goes with commit 90253cf142469a40f89f989904abf0a1e500e1a6

Reviewed-by: Ben Myers <bpm at sgi.com>



More information about the xfs mailing list