aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/syscall-counts.py
diff options
context:
space:
mode:
authorQu Wenruo <wqu@suse.com>2022-06-02 15:51:19 +0800
committerDavid Sterba <dsterba@suse.com>2022-07-25 17:45:35 +0200
commitef340fccbe982a14588ed15eb3a20b2e5b78a3e1 (patch)
tree69aac14d9d727781a05394e6ca31f1f13f0f592d /tools/perf/scripts/python/syscall-counts.py
parentbtrfs: raid56: avoid double for loop inside finish_rmw() (diff)
downloadlinux-dev-ef340fccbe982a14588ed15eb3a20b2e5b78a3e1.tar.xz
linux-dev-ef340fccbe982a14588ed15eb3a20b2e5b78a3e1.zip
btrfs: raid56: avoid double for loop inside __raid56_parity_recover()
The double for loop can be easily converted to single for loop as we're really iterating the sectors in their bytenr order. The only exception is the full stripe skip, however that can also easily be done inside the loop. Add an ASSERT() along with a comment for that specific case. 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/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions