summaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/lists.py
diff options
context:
space:
mode:
authorDarrick J. Wong <djwong@kernel.org>2025-04-09 02:14:35 +0300
committerDarrick J. Wong <djwong@kernel.org>2025-09-05 18:48:22 +0300
commite4c7eece7676bac436a8f98b91d646a8b55a67af (patch)
treef9e2520335667bccb6ab6a8e13df5b29cb8f9e8a /scripts/gdb/linux/lists.py
parent74fc66ee17fcd994a49ed80ddba90bc3b7046684 (diff)
downloadlinux-e4c7eece7676bac436a8f98b91d646a8b55a67af.tar.xz
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/lists.py')
0 files changed, 0 insertions, 0 deletions