]> 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)
commitcb18482d88777a5e95fcf27ec2311799e155b72d
tree750b45e9125ddc0ed2690625797769ff593c0fca
parent6a50d4e56dc543fc9c7ffb31ec7620e52ace3840
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