Re: [PATCH 1/9] xfs: fix reflink quota reservation accounting error

Christoph Hellwig
2020-07-01T08:07:28Z

On Wed, Jun 24, 2020 at 06:17:45PM -0700, Darrick J. Wong wrote:
> From: Darrick J. Wong <darrick.wong@oracle.com>
>
> Quota reservations are supposed to account for the blocks that might be
> allocated due to a bmap btree split. Reflink doesn't do this, so fix
> this to make the quota accounting more accurate before we start
> rearranging things.
>
> Fixes: 862bb360ef56 ("xfs: reflink extents from one file to another")
> Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>

Looks good,

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