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. -- Shuveb Hussain