On 9/1/20 6:51 AM, Shuveb Hussain wrote: > Hello, > >> This is intended behavior, you should consider the READV to be just >> like preadv2() in that it takes the offset/iov/flags, and ditto on >> the write side. READ is basically what a pread2 would be, if it >> existed. >> >> That said, you can use off == -1 if IORING_FEAT_RW_CUR_POS is set >> in the feature flags upon ring creation, and that'll use (and updated) >> the current file offset. This works for any non-stream/pipe file >> type. >> > > That clarifies it. Thanks, Jens. Great! BTW, thanks for working on the io_uring(7) man page, I'm pretty excited about that. -- Jens Axboe