On Wed, 30 Mar 2022 at 14:49, Jens Axboe <axboe@xxxxxxxxx> wrote: > IOSQE_IO_LINK means "wait until this request SUCCESSFULLY completes > before starting the next one". You can't reliably use a link from an eg > read, if you don't know how much data it read. If you don't care about > success, then use IOSQE_IO_HARDLINK. That is semantically like a link, > but it doesn't break on an unexpected result. > > If you're using LINK from the read _and_ the read returns less than you > asked for, IOSQE_IO_LINK will break the chain as that is an unexpected > result. Ah, okay. Thanks, Miklos