> I would like if we could do a regular allocation and let the That is what v1 of the patchkit did. I only introduced blk_* based on feedback from James who was concerned about the additional bounces. It would be fine for me to go back to that state. Please Jens and James work out what way is the preferred one. Right now there are conflicting requirements from different maintainers. > this code wants to change to use proper BIO and blk_ API as was > proposed by Mike Christie. So there is only that one user at scsi_scan It's actually not only scsi-scan, but a couple of users (see the whole patchkit) > On the other hand it is not only the ISA cases right? Even in an > x86_64 system with a PCI-32 host, we are going to bounce. Perhaps if > there is a convenient API for allocating un-bounced memory for a > block device there will be more users for it, like file-systems. > > The API, I would like that if failing to allocate un--bounced memory > would then allocate any memory and bounce later. pci dma api/ swiotlb is that API (which either bounces or uses an iommu), but it doesn't work for ISA DMA -Andi -- To unsubscribe from this list: send the line "unsubscribe linux-scsi" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html