mtip32xx: also set max_segment_size in the device
authorChristoph Hellwig <hch@lst.de>
Wed, 5 Jun 2019 19:08:26 +0000 (21:08 +0200)
committerJens Axboe <axboe@kernel.dk>
Wed, 5 Jun 2019 19:18:39 +0000 (13:18 -0600)
commitbb6f59af309c69643b6b07d9372c01a1cc0792e7
tree750b45e9125ddc0ed2690625797769ff593c0fca
parent84f3fc7aec42cefba34839d541d8bf8a3087e123
mtip32xx: 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/block/mtip32xx/mtip32xx.c