aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/failed-syscalls-by-pid.py
diff options
context:
space:
mode:
authorFilipe Manana <[email protected]>2024-06-03 17:20:30 +0100
committerDavid Sterba <[email protected]>2024-07-11 15:33:23 +0200
commitb7ac1acbdd1f3e84d566bdccfb0cf2d887ef55ce (patch)
treee0638bae3575a00b1a5157f3810c2c922cbcaf6d /tools/perf/scripts/python/failed-syscalls-by-pid.py
parentcb3cd62454eab7ebf833aeb04ca7458c656d30cf (diff)
btrfs: mark ordered extent insertion failure checks as unlikely
We never expect an ordered extent insertion to fail due to already having another ordered extent in the tree for the same file offset, since we always wait for existing ordered extents in a range to complete before writing into the range again. So mark the failure checks for the results of tree_insert() as unlikely, to make it clear it's never expected (save exceptional causes like bugs or memory corruptions) and to serve as a hint for the compiler to possibly generate better code. Reviewed-by: Josef Bacik <[email protected]> Reviewed-by: Qu Wenruo <[email protected]> Reviewed-by: Johannes Thumshirn <[email protected]> Signed-off-by: Filipe Manana <[email protected]> Reviewed-by: David Sterba <[email protected]> Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/failed-syscalls-by-pid.py')
0 files changed, 0 insertions, 0 deletions