aboutsummaryrefslogtreecommitdiff
path: root/kernel/Makefile
diff options
context:
space:
mode:
authorJoerg Roedel2019-02-07 12:59:17 +0100
committerMichael S. Tsirkin2019-03-06 11:19:26 -0500
commitfd1068e1860e44aaaa337b516df4518d1ce98da1 (patch)
tree538c2b98b0a1d0c0841e6be1b5b1085965a25d2e /kernel/Makefile
parente6d6dd6c875eb3c9b69bb640419405726e6e0bbe (diff)
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>
Diffstat (limited to 'kernel/Makefile')
0 files changed, 0 insertions, 0 deletions