Christoph Hellwig a85b36375b block: move the call to get_max_io_size out of blk_bio_segment_split
Prepare for reusing blk_bio_segment_split for (file system controlled)
splits of REQ_OP_ZONE_APPEND bios by letting the caller control the
maximum size of the bio.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Damien Le Moal <damien.lemoal@opensource.wdc.com>
Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Link: https://lore.kernel.org/r/20220727162300.3089193-5-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
2022-08-02 21:08:53 -06:00
..
2022-06-27 06:29:12 -06:00
2022-03-21 16:48:55 -07:00
2022-07-14 12:14:30 -06:00
2022-07-14 12:14:30 -06:00
2020-03-17 20:55:21 +01:00
2022-07-14 12:14:30 -06:00
2022-03-31 12:58:38 -06:00
2021-09-14 00:22:15 -04:00
2022-02-02 07:49:59 -07:00
2022-03-21 16:48:55 -07:00
2022-07-14 12:14:30 -06:00
2022-07-14 12:14:30 -06:00
2022-08-02 21:08:49 -06:00
2022-02-02 07:49:59 -07:00
2022-03-07 12:48:35 -07:00