diff options
author | 2022-12-12 08:37:18 +0100 | |
---|---|---|
committer | 2023-02-15 19:38:55 +0100 | |
commit | 72fcf1a47b8daba82ffdeddd630688df5ac1bddb (patch) | |
tree | 87c4386bf98745d0ef31571312884b2bf11b8da8 /scripts/generate_rust_analyzer.py | |
parent | btrfs: do unsigned integer division in the extent buffer binary search loop (diff) | |
download | wireguard-linux-72fcf1a47b8daba82ffdeddd630688df5ac1bddb.tar.xz wireguard-linux-72fcf1a47b8daba82ffdeddd630688df5ac1bddb.zip |
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 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions