On 4/27/20 12:03 PM, Pavel Begunkov wrote: > On 27/04/2020 18:55, Jens Axboe wrote: >> On 4/27/20 9:40 AM, Clay Harris wrote: >>> I was excited to see IORING_OP_SPLICE go in, but disappointed that tee >>> didn't go in at the same time. It would be very useful to copy pipe >>> buffers in an async program. >> >> Pavel, care to wire up tee? From a quick look, looks like just exposing >> do_tee() and calling that, so should be trivial. > > Yes, should be, I'll add it Only other thing I spotted is making the inode lock / double lock honor nowait, which is separate from the SPLICE_F_NONBLOCK flag. -- Jens Axboe