fix nvme performance regression due to dma_max_mapping_size()

From: Christoph Hellwig
Date: Wed Jul 17 2019 - 02:26:24 EST


Hi all,

the new dma_max_mapping_size function is a little to eager to limit
the I/O size if the swiotlb buffer is present, but the device is
not addressing limited. Fix this by adding an additional check.