aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/scripts/generate_rust_analyzer.py
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2022-12-12 08:37:18 +0100
committerDavid Sterba <dsterba@suse.com>2023-02-15 19:38:55 +0100
commit72fcf1a47b8daba82ffdeddd630688df5ac1bddb (patch)
tree87c4386bf98745d0ef31571312884b2bf11b8da8 /scripts/generate_rust_analyzer.py
parentbtrfs: do unsigned integer division in the extent buffer binary search loop (diff)
downloadwireguard-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