aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/async-thread.h
diff options
context:
space:
mode:
authorQu Wenruo <[email protected]>2022-04-01 11:23:28 +0000
committerDavid Sterba <[email protected]>2022-05-16 15:03:15 +0000
commit5fdb7afc6f94d5da88edc58910a42615fb1ca5ab (patch)
tree7956f001c32a70a3eec29f2bfbd00cf92b3aed4f /fs/btrfs/async-thread.h
parentbtrfs: raid56: remove btrfs_raid_bio::bio_pages array (diff)
downloadkernel-5fdb7afc6f94d5da88edc58910a42615fb1ca5ab.tar.gz
kernel-5fdb7afc6f94d5da88edc58910a42615fb1ca5ab.zip
btrfs: raid56: make set_bio_pages_uptodate() subpage compatible
Unlike previous code, we can not directly set PageUptodate for stripe pages now. Instead we have to iterate through all the sectors and set SECTOR_UPTODATE flag there. Introduce a new helper find_stripe_sector(), to do the work. 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/async-thread.h')
0 files changed, 0 insertions, 0 deletions