aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/sched-migration.py
diff options
context:
space:
mode:
authorQu Wenruo <wqu@suse.com>2020-12-02 14:48:00 +0800
committerDavid Sterba <dsterba@suse.com>2020-12-09 19:16:10 +0100
commitf91e0d0c4cd986af54a8b2deb43b9f7b35299a65 (patch)
tree80cb3b16dca1ce2cf967df046cbdb6d02998029e /tools/perf/scripts/python/sched-migration.py
parentf44cf41075b05660d61efa7bfa8350b45286f065 (diff)
btrfs: factor out btree page submission code to a helper
In btree_write_cache_pages() we have a btree page submission routine buried deeply in a nested loop. This patch will extract that part of code into a helper function, submit_eb_page(), to do the same work. Since submit_eb_page() now can return >0 for successful extent buffer submission, remove the "ASSERT(ret <= 0);" line. Reviewed-by: Josef Bacik <josef@toxicpanda.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/sched-migration.py')
0 files changed, 0 insertions, 0 deletions