diff options
author | Jens Axboe <axboe@kernel.dk> | 2025-04-24 10:28:14 -0600 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2025-04-24 10:32:43 -0600 |
commit | edd43f4d6f50ec3de55a0c9e9df6348d1da51965 (patch) | |
tree | 6dbfa64b430fdfd1d597e17a79bdd24266c65d71 /rust/helpers/helpers.c | |
parent | 5e16f1a68d28965c12b6fa227a306fef8a680f84 (diff) | |
download | linux-edd43f4d6f50ec3de55a0c9e9df6348d1da51965.tar.gz linux-edd43f4d6f50ec3de55a0c9e9df6348d1da51965.tar.bz2 linux-edd43f4d6f50ec3de55a0c9e9df6348d1da51965.zip |
io_uring: fix 'sync' handling of io_fallback_tw()
A previous commit added a 'sync' parameter to io_fallback_tw(), which if
true, means the caller wants to wait on the fallback thread handling it.
But the logic is somewhat messed up, ensure that ctxs are swapped and
flushed appropriately.
Cc: stable@vger.kernel.org
Fixes: dfbe5561ae93 ("io_uring: flush offloaded and delayed task_work on exit")
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'rust/helpers/helpers.c')
0 files changed, 0 insertions, 0 deletions