On Thu, Mar 20, 2025 at 05:38:04PM +0100, Christoph Hellwig wrote: > On Thu, Mar 20, 2025 at 09:58:47AM -0600, Keith Busch wrote: > > I allocate out of hugetlbfs to reliably send direct IO at this size > > because the nvme driver's segment count is limited to 128. > > It also works pretty well for buffered I/O for file systems supporting > larger folios. I can trivially create 1MB folios in the page cache > on XFS and then do I/O on them. Right, but try DIO or io-uring cmd. The two step dma API seems to help us bridge this gap and provide parity. Luis