s390/dcssblk:: don't call bio_split_to_limits
authorChristoph Hellwig <hch@lst.de>
Mon, 23 Jan 2023 07:53:56 +0000 (08:53 +0100)
committerJens Axboe <axboe@kernel.dk>
Sun, 29 Jan 2023 22:18:35 +0000 (15:18 -0700)
s390 iterates over the bio using bio_for_each_segment and doesn't need
any bio splitting.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Acked-by: Alexander Gordeev <agordeev@linux.ibm.com>
Link: https://lore.kernel.org/r/20230123075356.60847-1-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/s390/block/dcssblk.c

index c0f85ff..c09f2e0 100644 (file)
@@ -864,10 +864,6 @@ dcssblk_submit_bio(struct bio *bio)
        unsigned long source_addr;
        unsigned long bytes_done;
 
-       bio = bio_split_to_limits(bio);
-       if (!bio)
-               return;
-
        bytes_done = 0;
        dev_info = bio->bi_bdev->bd_disk->private_data;
        if (dev_info == NULL)