On 9/12/23 11:24 AM, Jens Axboe wrote: > @@ -863,10 +879,61 @@ int io_read(struct io_kiocb *req, unsigned int issue_flags) > int ret; > > ret = __io_read(req, issue_flags); > - if (unlikely(ret < 0)) > - return ret; > + if (ret >= 0) > + return kiocb_done(req, ret, issue_flags); > + > + return ret; > +} Looks like this one got folded into the wrong patch, this belongs with patch 1 of course. The current git tree is correct, patch 1 does it this way and patch 3 doesn't touch it. -- Jens Axboe