aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/failed-syscalls-by-pid.py
diff options
context:
space:
mode:
authorQu Wenruo <[email protected]>2018-10-24 20:24:01 +0800
committerDavid Sterba <[email protected]>2018-12-17 14:51:25 +0100
commit9f9b8e8d0ebe1af42ddd3c86e12569c53914a89d (patch)
tree6d845a630f5a031fc0ef2d365eb243579b2185ba /tools/perf/scripts/python/failed-syscalls-by-pid.py
parent85dd506c8e022a5c5555ad22decfa0abf93a5d64 (diff)
btrfs: extent-tree: Detect bytes_may_use underflow earlier
Although we have space_info::bytes_may_use underflow detection in btrfs_free_reserved_data_space_noquota(), we have more callers who are subtracting number from space_info::bytes_may_use. So instead of doing underflow detection for every caller, introduce a new wrapper update_bytes_may_use() to replace open coded bytes_may_use modifiers. This also introduce a macro to declare more wrappers, but currently space_info::bytes_may_use is the mostly interesting one. Reviewed-by: Josef Bacik <[email protected]> Signed-off-by: Qu Wenruo <[email protected]> Signed-off-by: Lu Fengqi <[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