diff options
author | Jens Axboe <axboe@kernel.dk> | 2024-03-15 16:36:23 -0600 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2024-03-16 10:33:19 -0600 |
commit | f3a640cca951ef9715597e68f5363afc0f452a88 (patch) | |
tree | 185f47a526b39c0b5aac3915f16542029a6ba110 /tools/perf/scripts/python/bin/export-to-sqlite-report | |
parent | 2b35b8b43e07b1a6f06fdd84cf4b9eb24785896d (diff) |
io_uring/net: ensure async prep handlers always initialize ->done_io
If we get a request with IOSQE_ASYNC set, then we first run the prep
async handlers. But if we then fail setting it up and want to post
a CQE with -EINVAL, we use ->done_io. This was previously guarded with
REQ_F_PARTIAL_IO, and the normal setup handlers do set it up before any
potential errors, but we need to cover the async setup too.
Fixes: 9817ad85899f ("io_uring/net: remove dependency on REQ_F_PARTIAL_IO for sr->done_io")
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'tools/perf/scripts/python/bin/export-to-sqlite-report')
0 files changed, 0 insertions, 0 deletions