diff options
author | David Sterba <dsterba@suse.com> | 2022-10-27 03:22:19 +0300 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2022-12-05 20:00:51 +0300 |
commit | ab2072b2921eced166dbdec1d65b0284b6eba2b9 (patch) | |
tree | 8e3521eb1b47c52f4b890418cf4d9878765d5e75 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 7920b773bd8a458c05b2ba4581fe19c5704fffd7 (diff) | |
download | linux-ab2072b2921eced166dbdec1d65b0284b6eba2b9.tar.xz |
btrfs: change how submit bio callback is passed to btrfs_wq_submit_bio
There's a callback function parameter for btrfs_wq_submit_bio that can
be one of: metadata, buffered data, direct io data. The callback
abstraction is unnecessary as we have all functions available.
Replace the parameter with a command that leads to a direct call in
run_one_async_start. The called functions can be then simplified and we
can also remove the extent_submit_bio_start_t typedef.
Reviewed-by: Anand Jain <anand.jain@oracle.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions