diff options
author | 2020-12-02 14:48:09 +0800 | |
---|---|---|
committer | 2020-12-09 19:16:11 +0100 | |
commit | 53f3251d3b82f70c762cb7d963d70fb65f49e22c (patch) | |
tree | 08e0bc562bc935000517a17de929fabfeaeb28a9 /Documentation | |
parent | btrfs: scrub: always allocate one full page for one sector for RAID56 (diff) | |
download | linux-53f3251d3b82f70c762cb7d963d70fb65f49e22c.tar.gz linux-53f3251d3b82f70c762cb7d963d70fb65f49e22c.tar.bz2 linux-53f3251d3b82f70c762cb7d963d70fb65f49e22c.zip |
btrfs: scrub: support subpage tree block scrub
To support subpage tree block scrub, scrub_checksum_tree_block() only
needs to learn 2 new tricks:
- Follow sector size
Now scrub_page only represents one sector, we need to follow it
properly.
- Run checksum on all sectors
Since scrub_page only represents one sector, we need to run checksum
on all sectors, not only (nodesize >> PAGE_SIZE).
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 'Documentation')
0 files changed, 0 insertions, 0 deletions