diff options
author | 2020-10-09 09:28:29 -0400 | |
---|---|---|
committer | 2021-02-08 22:58:59 +0100 | |
commit | e5ad49e215a07562f0a765c68161d13d7c23d8d1 (patch) | |
tree | 71716a73c20d84148fdad60307d8e568accd795e /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | btrfs: adjust the flush trace point to include the source (diff) | |
download | linux-dev-e5ad49e215a07562f0a765c68161d13d7c23d8d1.tar.xz linux-dev-e5ad49e215a07562f0a765c68161d13d7c23d8d1.zip |
btrfs: add a trace class for dumping the current ENOSPC state
Often when I'm debugging ENOSPC related issues I have to resort to
printing the entire ENOSPC state with trace_printk() in different spots.
This gets pretty annoying, so add a trace state that does this for us.
Then add a trace point at the end of preemptive flushing so you can see
the state of the space_info when we decide to exit preemptive flushing.
This helped me figure out we weren't kicking in the preemptive flushing
soon enough.
Reviewed-by: Nikolay Borisov <nborisov@suse.com>
Signed-off-by: Josef Bacik <josef@toxicpanda.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions