diff options
| author | Darrick J. Wong <djwong@kernel.org> | 2025-04-08 16:14:35 -0700 |
|---|---|---|
| committer | Darrick J. Wong <djwong@kernel.org> | 2025-09-05 08:48:22 -0700 |
| commit | e4c7eece7676bac436a8f98b91d646a8b55a67af (patch) | |
| tree | f9e2520335667bccb6ab6a8e13df5b29cb8f9e8a /scripts/gdb/linux/dmesg.py | |
| parent | 74fc66ee17fcd994a49ed80ddba90bc3b7046684 (diff) | |
xfs: compute file mapping reap limits dynamically
Reaping file fork mappings is a little different -- log recovery can
free the blocks for us, so we only try to process a single mapping at a
time. Therefore, we only need to figure out the maximum number of
blocks that we can invalidate in a single transaction.
The rough calculation here is:
nr_extents = (logres - reservation used by any one step) /
(space used per binval)
Signed-off-by: "Darrick J. Wong" <djwong@kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'scripts/gdb/linux/dmesg.py')
0 files changed, 0 insertions, 0 deletions
