mmc: also set max_segment_size in the device
authorChristoph Hellwig <hch@lst.de>
Wed, 5 Jun 2019 19:08:27 +0000 (21:08 +0200)
committerJens Axboe <axboe@kernel.dk>
Wed, 5 Jun 2019 19:18:39 +0000 (13:18 -0600)
commitcf1db7fc8c2d31222701bd5c01b9cbaf89d8e7ce
treef44f4db009d754ea70376bf3b8a75f8c7594b3c8
parentbb6f59af309c69643b6b07d9372c01a1cc0792e7
mmc: also set max_segment_size in the device

If we only set the max_segment_size on the queue an IOMMU merge might
create bigger segments again, so limit the IOMMU merges as well.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/mmc/core/queue.c