diff options
author | Qu Wenruo <wqu@suse.com> | 2022-06-08 08:34:36 +0800 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2022-07-25 17:45:35 +0200 |
commit | 1c10702e7cb9ddecdcf032f83dad7a3583689a8e (patch) | |
tree | 6857afbf3a17c943b9675d6883acff6a9698cc06 /tools/perf/scripts/python/syscall-counts.py | |
parent | 550cdeb3e09808540454012ddf896dae466d8822 (diff) |
btrfs: raid56: avoid double for loop inside raid56_parity_scrub_stripe()
Originally it's iterating all the sectors which has dbitmap sector for
the vertical stripe.
It can be easily converted to sector bytenr iteration with an test_bit()
call.
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