aboutsummaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorGravatar Qu Wenruo <wqu@suse.com> 2020-12-02 14:48:09 +0800
committerGravatar David Sterba <dsterba@suse.com> 2020-12-09 19:16:11 +0100
commit53f3251d3b82f70c762cb7d963d70fb65f49e22c (patch)
tree08e0bc562bc935000517a17de929fabfeaeb28a9 /Documentation
parentbtrfs: scrub: always allocate one full page for one sector for RAID56 (diff)
downloadlinux-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