diff options
| author | Kent Overstreet <[email protected]> | 2022-10-21 14:01:19 -0400 |
|---|---|---|
| committer | Kent Overstreet <[email protected]> | 2023-10-22 17:09:44 -0400 |
| commit | ed80c5699a23c4005ba8e81d4b8fb3e1b922fa40 (patch) | |
| tree | 3c2dd5e984480c39efbaa6ea19011bacbeec10d1 /tools/perf/scripts/python/event_analyzing_sample.py | |
| parent | 2d485df3da368193dafc78be933669d427b7ddf7 (diff) | |
bcachefs: Optimize bch2_dev_usage_read()
- add bch2_dev_usage_read_fast(), which doesn't return by value -
bch_dev_usage is big enough that we don't want the silent memcpy
- tweak the allocation path to only call bch2_dev_usage_read() once per
bucket allocated
Signed-off-by: Kent Overstreet <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions