Re: [PATCH 6/9] xfs: compute realtime device CoW staging extent reap limits dynamically

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

 



On Thu, Aug 28, 2025 at 07:29:26AM -0700, Darrick J. Wong wrote:
> From: Darrick J. Wong <djwong@xxxxxxxxxx>
> 
> Calculate the maximum number of CoW staging extents that can be reaped
> in a single transaction chain.  The rough calculation here is:
> 
> nr_extents = (logres - reservation used by any one step) /
> 		(space used by intents per extent)

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