aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/dev-replace.c
diff options
context:
space:
mode:
authorQu Wenruo <[email protected]>2020-12-02 06:48:09 +0000
committerDavid Sterba <[email protected]>2020-12-09 18:16:11 +0000
commit53f3251d3b82f70c762cb7d963d70fb65f49e22c (patch)
tree08e0bc562bc935000517a17de929fabfeaeb28a9 /fs/btrfs/dev-replace.c
parentbtrfs: scrub: always allocate one full page for one sector for RAID56 (diff)
downloadkernel-53f3251d3b82f70c762cb7d963d70fb65f49e22c.tar.gz
kernel-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 <[email protected]> Reviewed-by: David Sterba <[email protected]> Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'fs/btrfs/dev-replace.c')
0 files changed, 0 insertions, 0 deletions