]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit4dcf269b9b25e6a4935fff3aae8c7004c66cc621
treef44f4db009d754ea70376bf3b8a75f8c7594b3c8
parent219914ec8dbe218a6f51a4a50470c36fd06ab39f
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