diff options
author | 2023-01-21 07:50:22 +0100 | |
---|---|---|
committer | 2023-02-15 19:38:52 +0100 | |
commit | 2380220e1e13b2dec4ae6f561841763ed6e1b0c0 (patch) | |
tree | a38630794a7feb51af13ad1863449ed5d61e590b /fs/btrfs/compression.c | |
parent | btrfs: pass the iomap bio to btrfs_submit_bio (diff) | |
download | wireguard-linux-2380220e1e13b2dec4ae6f561841763ed6e1b0c0.tar.xz wireguard-linux-2380220e1e13b2dec4ae6f561841763ed6e1b0c0.zip |
btrfs: remove stripe boundary calculation for buffered I/O
Remove btrfs_bio_ctrl::len_to_stripe_boundary, so that buffer
I/O will no longer limit its bio size according to stripe length
now that btrfs_submit_bio can split bios at stripe boundaries.
Reviewed-by: Josef Bacik <josef@toxicpanda.com>
Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Signed-off-by: Qu Wenruo <wqu@suse.com>
[hch: simplify calc_bio_boundaries a little more]
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions