]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit219914ec8dbe218a6f51a4a50470c36fd06ab39f
tree750b45e9125ddc0ed2690625797769ff593c0fca
parent03e38778da03ccf1ff2790b9c1646ec5316603c6
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