Re: [PATCH 06/13] xfs: reduce quota reservation when doing a dax unwritten extent conversion

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Jan 28, 2021 at 06:17:03PM -0800, Darrick J. Wong wrote:
> From: Darrick J. Wong <djwong@xxxxxxxxxx>
> 
> In commit 3b0fe47805802, we reduced the free space requirement to
> perform a pre-write unwritten extent conversion on an S_DAX file.  Since
> we're not actually allocating any space, the logic goes, we only need
> enough reservation to handle shape changes in the bmbt.
> 
> The same logic should have been applied to quota -- we're not allocating
> any space, so we only need to reserve enough quota to handle the bmbt
> shape changes.
> 
> Fixes: 3b0fe4780580 ("xfs: Don't use reserved blocks for data blocks with DAX")
> Signed-off-by: Darrick J. Wong <djwong@xxxxxxxxxx>

Looks good,

Reviewed-by: Christoph Hellwig <hch@xxxxxx>



[Index of Archives]     [XFS Filesystem Development (older mail)]     [Linux Filesystem Development]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux RAID]     [Linux SCSI]


  Powered by Linux