diff options
author | David Howells <[email protected]> | 2023-09-22 14:49:47 +0100 |
---|---|---|
committer | David Howells <[email protected]> | 2023-12-28 09:45:18 +0000 |
commit | cae932d3aee55035a54415dcea8e7ecf2ec469b5 (patch) | |
tree | 9d0889f665bd9eb53da4cfa4387cfb6aff60973c /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 7d828a06634799aba0fa392913c7fe2953eb64a6 (diff) |
netfs: Add func to calculate pagecount/size-limited span of an iterator
Add a function to work out how much of an ITER_BVEC or ITER_XARRAY iterator
we can use in a pagecount-limited and size-limited span. This will be
used, for example, to limit the number of segments in a subrequest to the
maximum number of elements that an RDMA transfer can handle.
Signed-off-by: David Howells <[email protected]>
Reviewed-by: Jeff Layton <[email protected]>
cc: [email protected]
cc: [email protected]
cc: [email protected]
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions