summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorQu Wenruo <wqu@suse.com>2022-03-21 08:48:42 +0300
committerDavid Sterba <dsterba@suse.com>2022-05-16 18:03:13 +0300
commitc0111c44174a82f81c89ea79e70f2e95ba42c73f (patch)
tree436c294be29eca5a7cb5be6afac783bac0d1a005 /tools/perf/scripts/python
parent8e010b3d7043e61fc0bbfe27a57dad674eef7340 (diff)
downloadlinux-c0111c44174a82f81c89ea79e70f2e95ba42c73f.tar.xz
btrfs: simplify parameters of submit_read_repair() and rename
Cleanup the function submit_read_repair() by: - Remove the fixed argument submit_bio_hook() The function is only called on buffered data read path, so the @submit_bio_hook argument is always btrfs_submit_data_bio(). Since it's fixed, then there is no need to pass that argument at all. - Rename the function to submit_data_read_repair() Just to be more explicit on all the 3 things, data, read and repair. Reviewed-by: Nikolay Borisov <nborisov@suse.com> Signed-off-by: Qu Wenruo <wqu@suse.com> Reviewed-by: David Sterba <dsterba@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions