Re: Sending CQE to a different ring

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

 



On 3/10/22 8:36 AM, Artyom Pavlov wrote:
> After thinking about it a bit, I think this approach has one serious
> disadvantage: you lose successful result value of the initial request.
> Imagine we submit IORING_OP_READ and link IORING_OP_WAKEUP_RING to it.
> If the request is completed successfully, both ring1 and ring2 will
> lose number of read bytes.

But you know what the result is, otherwise you would've gotten a cqe
posted if it wasn't what you asked for.

-- 
Jens Axboe




[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