diff options
author | 2022-06-08 08:34:34 +0800 | |
---|---|---|
committer | 2022-07-25 17:45:35 +0200 | |
commit | aee35e4bcc3029fc3be15f696043107125b7209f (patch) | |
tree | f5e470f91f7f2f07e064c3a81a87ded615416f62 /tools/perf/scripts/python/syscall-counts.py | |
parent | btrfs: raid56: avoid double for loop inside __raid56_parity_recover() (diff) | |
download | linux-dev-aee35e4bcc3029fc3be15f696043107125b7209f.tar.xz linux-dev-aee35e4bcc3029fc3be15f696043107125b7209f.zip |
btrfs: raid56: avoid double for loop inside alloc_rbio_essential_pages()
The double loop is just checking if the page for the vertical stripe
is allocated.
We can easily convert it to single loop and get rid of @stripe variable.
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