diff options
author | Christoph Hellwig <hch@lst.de> | 2022-03-24 17:06:28 +0100 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2022-04-19 15:45:04 +0200 |
commit | 0fdf977d4576ee0decd612e22f6a837a239573cc (patch) | |
tree | 8ef61ac8fe7274688792cc489e165bb9d736c989 /net/ipv6/mcast.c | |
parent | 00d825258bcc09c0e1b99aa7f9ad7d2c2fad41fa (diff) | |
download | linux-stable-0fdf977d4576ee0decd612e22f6a837a239573cc.tar.gz linux-stable-0fdf977d4576ee0decd612e22f6a837a239573cc.tar.bz2 linux-stable-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: stable@vger.kernel.org # 5.16+
Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Reviewed-by: Naohiro Aota <naohiro.aota@wdc.com>
Reviewed-by: Qu Wenruo <wqu@suse.com>
Reviewed-by: Sweet Tea Dorminy <sweettea-kernel@dorminy.me>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'net/ipv6/mcast.c')
0 files changed, 0 insertions, 0 deletions