Re: io_uring_prep_openat_direct() and link/drain

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 30 Mar 2022 at 14:35, Jens Axboe <axboe@xxxxxxxxx> wrote:
>
> On 3/30/22 2:18 AM, Miklos Szeredi wrote:
> > On Tue, 29 Mar 2022 at 22:03, Jens Axboe <axboe@xxxxxxxxx> wrote:
> >
> >> Can you try and repull the branch? I rebased the top two, so reset to
> >> v5.17 first and then pull it.
> >
> > This one works in all cases, except if there's a link flag on the
> > read.  In that case the read itself will succeed but following
> > requests on the link chain will fail with -ECANCELED.
>
> That sounds like you're asking for more data than what is being read,
> in which case the link should correctly break and cancel the rest.
> That's expected behavior, a short read is not a successful read in that
> regard.

Sorry, I don't get it.  Does the link flag has other meaning than
"wait until this request completes before starting the next"?

Thanks,
Miklos



[Index of Archives]     [Linux Samsung SoC]     [Linux Rockchip SoC]     [Linux Actions SoC]     [Linux for Synopsys ARC Processors]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]


  Powered by Linux