aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/lists.py
diff options
context:
space:
mode:
authorQu Wenruo <[email protected]>2022-03-11 15:38:43 +0800
committerDavid Sterba <[email protected]>2022-05-16 17:17:30 +0200
commit09022b14fafc86904f237b0463877d5d36f8cc17 (patch)
treeedf93fdb25b9f3e13cc435b029f249bb3446b749 /scripts/gdb/linux/lists.py
parent416bd7e7af602a14c41d87a94bec36a052d87181 (diff)
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 <[email protected]> Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/lists.py')
0 files changed, 0 insertions, 0 deletions