diff options
| author | Shang En Sim <sim@shangen.org> | 2026-10-30 00:03:16 -0500 |
|---|---|---|
| committer | Jens Axboe <axboe@kernel.dk> | 2026-11-03 07:26:46 -0700 |
| commit | 21ddbb14f7c3baab50a2a6c13ee375edc2bbe031 (patch) | |
| tree | d7fc2f2f92b14972383a160b263175db412126a7 /tools/lib/python | |
| parent | f013b695506491c5202a412a6568313549c81f50 (diff) | |
io_uring/cancel: count all requests that a CANCEL_ALL cancels
With IORING_ASYNC_CANCEL_ALL, __io_async_cancel() counts one for each
io_try_cancel() call that cancels something. io_futex_cancel() and
io_waitid_cancel() cancel every match in one call and return how many,
so four futex waits cancelled with CANCEL_ALL give a result of 1.
Add the number that they return.
Cc: stable@vger.kernel.org
Fixes: 194bb58c6090 ("io_uring: add support for futex wake and wait")
Fixes: f31ecf671ddc ("io_uring: add IORING_OP_WAITID support")
Signed-off-by: Shang En Sim <sim@shangen.org>
Link: https://patch.msgid.link/20261030050319.1448530-2-sim@shangen.org
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'tools/lib/python')
0 files changed, 0 insertions, 0 deletions
