diff options
| author | Darrick J. Wong <djwong@kernel.org> | 2025-04-08 16:14:33 -0700 |
|---|---|---|
| committer | Darrick J. Wong <djwong@kernel.org> | 2025-09-05 08:48:22 -0700 |
| commit | 442bc127d460a807858ef9258e77518b9597eed1 (patch) | |
| tree | 0d4a98b9152ef54b56f1a68c3a1c6406c850440b /scripts/gdb/linux/xarray.py | |
| parent | b2311ec6778fcde9d40cd9e22899f8bd594d8465 (diff) | |
xfs: compute data device CoW staging extent reap limits dynamically
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 +
space used for a few buffer invalidations)
Signed-off-by: "Darrick J. Wong" <djwong@kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'scripts/gdb/linux/xarray.py')
0 files changed, 0 insertions, 0 deletions
