diff options
| author | Jens Axboe <axboe@kernel.dk> | 2026-01-18 19:48:01 -0700 |
|---|---|---|
| committer | Jens Axboe <axboe@kernel.dk> | 2026-01-19 06:59:06 -0700 |
| commit | 4b9748055457ac3a0710bf210c229d01ea1b01b9 (patch) | |
| tree | 899350e47295b5daa4ef3ef5750105047ac1dbec /tools/perf/scripts/python/parallel-perf.py | |
| parent | io_uring: move local task_work in exit cancel loop (diff) | |
| download | linux-4b9748055457ac3a0710bf210c229d01ea1b01b9.tar.gz linux-4b9748055457ac3a0710bf210c229d01ea1b01b9.zip | |
io_uring/rw: free potentially allocated iovec on cache put failure
If a read/write request goes through io_req_rw_cleanup() and has an
allocated iovec attached and fails to put to the rw_cache, then it may
end up with an unaccounted iovec pointer. Have io_rw_recycle() return
whether it recycled the request or not, and use that to gauge whether to
free a potential iovec or not.
Reviewed-by: Nitesh Shetty <nj.shetty@samsung.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'tools/perf/scripts/python/parallel-perf.py')
0 files changed, 0 insertions, 0 deletions
