Joerg Roedel fd1068e186 virtio-blk: Consider virtio_max_dma_size() for maximum segment size
Segments can't be larger than the maximum DMA mapping size
supported on the platform. Take that into account when
setting the maximum segment size for a block device.

Cc: stable@vger.kernel.org
Reviewed-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Joerg Roedel <jroedel@suse.de>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
2019-03-06 11:19:26 -05:00
..
2018-12-16 09:01:38 -07:00
2019-01-02 18:49:58 -08:00
2018-10-25 06:50:48 -07:00
2018-10-17 09:42:30 -06:00
2018-10-17 09:42:30 -06:00
2018-10-15 20:07:56 -06:00
2017-02-20 12:16:15 +01:00
2017-08-18 08:45:29 -06:00
2018-10-16 09:49:18 -06:00
2018-11-09 08:14:14 -07:00
2018-11-10 08:58:48 -06:00
2018-10-15 20:08:24 -06:00
2018-10-26 14:36:21 -07:00