summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorQu Wenruo <wqu@suse.com>2022-03-11 10:38:46 +0300
committerDavid Sterba <dsterba@suse.com>2022-05-16 18:17:30 +0300
commit18d30ab961497f2934dad5cb502e3e377e6ae61c (patch)
treedb3e9ac6f61a763838cf59176390ffcdbb36e280 /tools/perf/scripts/python/stackcollapse.py
parente430c4287ebdafef961948c31c0b8c18dae7ee5e (diff)
downloadlinux-18d30ab961497f2934dad5cb502e3e377e6ae61c.tar.xz
btrfs: scrub: use scrub_simple_mirror() to handle RAID56 data stripe scrub
Although RAID56 has complex repair mechanism, which involves reading the whole full stripe, but inside one data stripe, it's in fact no different than SINGLE/RAID1. The point here is, for data stripe we just check the csum for each extent we hit. Only for csum mismatch case, our repair paths divide. So we can still reuse scrub_simple_mirror() for RAID56 data stripes, which saves quite some code. Signed-off-by: Qu Wenruo <wqu@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions