summaryrefslogtreecommitdiff
path: root/crypto/cast6_generic.c
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2022-12-12 10:37:18 +0300
committerDavid Sterba <dsterba@suse.com>2023-02-15 21:38:55 +0300
commit72fcf1a47b8daba82ffdeddd630688df5ac1bddb (patch)
tree87c4386bf98745d0ef31571312884b2bf11b8da8 /crypto/cast6_generic.c
parenta724f313f84beb5b63b8844d9ec42a547e4a3c18 (diff)
downloadlinux-72fcf1a47b8daba82ffdeddd630688df5ac1bddb.tar.xz
btrfs: use file_offset to limit bios size in calc_bio_boundaries
btrfs_ordered_extent->disk_bytenr can be rewritten by the zoned I/O completion handler, and thus in general is not a good idea to limit I/O size. But the maximum bio size calculation can easily be done using the file_offset fields in the btrfs_ordered_extent and btrfs_bio structures, so switch to that instead. Reviewed-by: Josef Bacik <josef@toxicpanda.com> Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'crypto/cast6_generic.c')
0 files changed, 0 insertions, 0 deletions