Hi Jens, On 6/19/22 9:07 AM, Jens Axboe wrote:
+ cd.seq = atomic_inc_return(&ctx->cancel_seq),
Not sure if it's intentional, but the comma after atomic_inc return() looks unique. While that's valid syntax, I think you want to use a semicolon to end it consistently.
+ + prepare_to_wait(&ctx->cq_wait, &wait, TASK_INTERRUPTIBLE); + + ret = __io_sync_cancel(current->io_uring, &cd, sc.fd);
-- Ammar Faizi