Messages in this thread | | | Subject | Re: dma api errors with swiotlb | From | Thomas Hellström (VMware) <> | Date | Wed, 4 Sep 2019 14:54:26 +0200 |
| |
On 9/4/19 2:17 PM, Christoph Hellwig wrote: > A call to dma_max_mapping_size() to limit the maximum I/O size solves > that problem. With the latest kernel that should actually be done > automatically by the SCSI midlayer for you.
Hmm, OK. I guess with a sufficient queue depth and many mappings waiting for DMA completion, the SWIOTLB may fill up anyway...
I'll see if I can come up with something.
Thanks,
Thomas
| |