Skip to content
Commit b1c62645 authored by Jens Axboe's avatar Jens Axboe
Browse files

io_uring: recycle provided buffers if request goes async



If we are using provided buffers, it's less than useful to have a buffer
selected and pinned if a request needs to go async or arms poll for
notification trigger on when we can process it.

Recycle the buffer in those events, so we don't pin it for the duration
of the request.

Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent 2be2eb02
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment