aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/dev-replace.c
diff options
context:
space:
mode:
authorChristoph Hellwig <[email protected]>2022-03-24 16:06:28 +0000
committerDavid Sterba <[email protected]>2022-04-19 13:45:04 +0000
commit0fdf977d4576ee0decd612e22f6a837a239573cc (patch)
tree8ef61ac8fe7274688792cc489e165bb9d736c989 /fs/btrfs/dev-replace.c
parentbtrfs: fix direct I/O read repair for split bios (diff)
downloadkernel-0fdf977d4576ee0decd612e22f6a837a239573cc.tar.gz
kernel-0fdf977d4576ee0decd612e22f6a837a239573cc.zip
btrfs: fix direct I/O writes for split bios on zoned devices
When a bio is split in btrfs_submit_direct, dip->file_offset contains the file offset for the first bio. But this means the start value used in btrfs_end_dio_bio to record the write location for zone devices is incorrect for subsequent bios. CC: [email protected] # 5.16+ Reviewed-by: Johannes Thumshirn <[email protected]> Reviewed-by: Naohiro Aota <[email protected]> Reviewed-by: Qu Wenruo <[email protected]> Reviewed-by: Sweet Tea Dorminy <[email protected]> Signed-off-by: Christoph Hellwig <[email protected]> Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'fs/btrfs/dev-replace.c')
0 files changed, 0 insertions, 0 deletions