On Thu, Dec 23, 2021 at 1:11 PM Jens Axboe <axboe@xxxxxxxxx> wrote: > > Single fix for not clearing kiocb->ki_pos back to 0 for a stream, > destined for stable as well. I don't think any of this is right. You can't use f_pos without using fdget_pos() to actually get the lock to it. Which you don't do in io_uring. Linus