On 30/10/24 01:22, Anand Jain wrote: > On 22/10/24 22:50, Mark Harmstone wrote: >> This is version 4 of a patch series to add an io_uring interface for >> encoded reads. The principal use case for this is to eventually allow >> btrfs send and receive to operate asynchronously, > > How would you define an asynchronously operated Btrfs send and receive? > Are you referring to Btrfs send and receive the leveraging io_uring > asynchronous operation? Yes. The ideal for btrfs receive would be if we could mmap the stream file, loop through the TLV entries translating them into io_uring SQEs, then wait at the end for completion. Mark