diff options
author | 2024-02-15 21:42:10 -0500 | |
---|---|---|
committer | 2024-03-13 21:22:24 -0400 | |
commit | 6e9d0558b1ad285eb371e309b36cdcf2d8f8d138 (patch) | |
tree | f7e88d313dfabdd97a9f6b0d748564bc220ccbd5 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | bcachefs: bch2_print_opts() (diff) | |
download | wireguard-linux-6e9d0558b1ad285eb371e309b36cdcf2d8f8d138.tar.xz wireguard-linux-6e9d0558b1ad285eb371e309b36cdcf2d8f8d138.zip |
bcachefs: bch2_trigger_alloc() handles state changes better
bch2_trigger_alloc() kicks off certain tasks on bucket state changes;
e.g. triggering the bucket discard worker and the invalidate worker.
We've observed the discard worker running too often - most runs it
doesn't do any work, according to the tracepoint - so clearly, we're
kicking it off too often.
This adds an explicit statechange() macro to make these checks more
precise.
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions