summaryrefslogtreecommitdiff
path: root/io_uring/io_uring.h
diff options
context:
space:
mode:
authorCaleb Sander Mateos <csander@purestorage.com>2025-10-31 14:34:28 -0600
committerJens Axboe <axboe@kernel.dk>2025-11-03 08:31:26 -0700
commit4531d165ee39edb315b42a4a43e29339fa068e51 (patch)
treec506839e5616faf9dd2ec5e944bf52ad14ea8a17 /io_uring/io_uring.h
parent8cd5a59e4d512c6e1df47bf8ce60f7d16e4b3c18 (diff)
io_uring: only call io_should_terminate_tw() once for ctx
io_fallback_req_func() calls io_should_terminate_tw() on each req's ctx. But since the reqs all come from the ctx's fallback_llist, req->ctx will be ctx for all of the reqs. Therefore, compute ts.cancel as io_should_terminate_tw(ctx) just once, outside the loop. Signed-off-by: Caleb Sander Mateos <csander@purestorage.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'io_uring/io_uring.h')
0 files changed, 0 insertions, 0 deletions