diff options
author | Qu Wenruo <wqu@suse.com> | 2022-03-11 10:38:43 +0300 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2022-05-16 18:17:30 +0300 |
commit | 09022b14fafc86904f237b0463877d5d36f8cc17 (patch) | |
tree | edf93fdb25b9f3e13cc435b029f249bb3446b749 /tools/perf/scripts/python/stackcollapse.py | |
parent | 416bd7e7af602a14c41d87a94bec36a052d87181 (diff) | |
download | linux-09022b14fafc86904f237b0463877d5d36f8cc17.tar.xz |
btrfs: scrub: introduce dedicated helper to scrub simple-mirror based range
The new helper, scrub_simple_mirror(), will scrub all extents inside a
range which only has simple mirror based duplication.
This covers every range of SINGLE/DUP/RAID1/RAID1C*, and inside each
data stripe for RAID0/RAID10.
Currently we will use this function to scrub SINGLE/DUP/RAID1/RAID1C*
profiles. As one can see, the new entrance for those simple-mirror
based profiles can be small enough (with comments, just reach 100
lines).
This function will be the basis for the incoming scrub refactor.
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