aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/stackcollapse-record
diff options
context:
space:
mode:
authorChristoph Hellwig <[email protected]>2023-06-28 17:31:31 +0200
committerDavid Sterba <[email protected]>2023-08-21 14:52:14 +0200
commitc56cbe90599338c0aaa84cab0e99a9e8a8501a38 (patch)
tree07d952f0f0c727395aecf6247f16d15945877977 /tools/perf/scripts/python/bin/stackcollapse-record
parent2c73162d649670045415537dc746f7524cda1405 (diff)
btrfs: reduce the number of arguments to btrfs_run_delalloc_range
Instead of a separate page_started argument that tells the callers that btrfs_run_delalloc_range already started writeback by itself, overload the return value with a positive 1 in additio to 0 and a negative error code to indicate that is has already started writeback, and remove the nr_written argument as that caller can calculate it directly based on the range, and in fact already does so for the case where writeback wasn't started yet. Reviewed-by: Josef Bacik <[email protected]> Signed-off-by: Christoph Hellwig <[email protected]> Reviewed-by: David Sterba <[email protected]> Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions