diff options
author | 2022-03-11 15:38:43 +0800 | |
---|---|---|
committer | 2022-05-16 17:17:30 +0200 | |
commit | 09022b14fafc86904f237b0463877d5d36f8cc17 (patch) | |
tree | edf93fdb25b9f3e13cc435b029f249bb3446b749 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | btrfs: scrub: introduce a helper to locate an extent item (diff) | |
download | linux-dev-09022b14fafc86904f237b0463877d5d36f8cc17.tar.xz linux-dev-09022b14fafc86904f237b0463877d5d36f8cc17.zip |
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/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions