Christoph Hellwig c39493222e dm: open code blk_max_size_offset in max_io_len
max_io_len always passes an explicitly non-zero chunk_sectors into
blk_max_size_offset.  That means much of blk_max_size_offset is not
needed and can be open coded to simplify the code.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Mike Snitzer <snitzer@kernel.org>
Link: https://lore.kernel.org/r/20220614090934.570632-3-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
2022-06-27 06:29:11 -06:00
..
2022-06-03 10:25:56 -07:00
2022-05-05 17:31:35 -04:00
2022-05-05 17:31:35 -04:00
2022-05-27 15:49:30 -07:00
2022-05-27 15:49:30 -07:00
2022-06-08 14:04:14 -04:00
2022-06-08 14:04:14 -04:00
2022-06-08 14:04:14 -04:00
2022-05-22 23:07:21 -07:00
2022-03-08 15:16:54 -08:00
2022-05-22 23:07:21 -07:00
2022-03-08 15:16:54 -08:00
2019-03-12 10:15:18 -07:00
2022-05-22 23:07:21 -07:00
2022-05-22 23:07:21 -07:00
2022-03-08 15:16:54 -08:00