diff options
| author | Pavel Begunkov <[email protected]> | 2022-09-06 16:11:17 +0000 |
|---|---|---|
| committer | Jens Axboe <[email protected]> | 2022-09-07 16:36:10 +0000 |
| commit | 336d28a8f38013a069f2d46e73aaa1880ef17a47 (patch) | |
| tree | 69597f10bc7f1e1b9a02405f016eede1f4d489f1 /rust/helpers.c | |
| parent | io_uring/kbuf: fix not advancing READV kbuf ring (diff) | |
| download | kernel-336d28a8f38013a069f2d46e73aaa1880ef17a47.tar.gz kernel-336d28a8f38013a069f2d46e73aaa1880ef17a47.zip | |
io_uring: recycle kbuf recycle on tw requeue
When we queue a request via tw for execution it's not going to be
executed immediately, so when io_queue_async() hits IO_APOLL_READY
and queues a tw but doesn't try to recycle/consume the buffer some other
request may try to use the the buffer.
Fixes: c7fb19428d67 ("io_uring: add support for ring mapped supplied buffers")
Signed-off-by: Pavel Begunkov <[email protected]>
Link: https://lore.kernel.org/r/a19bc9e211e3184215a58e129b62f440180e9212.1662480490.git.asml.silence@gmail.com
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'rust/helpers.c')
0 files changed, 0 insertions, 0 deletions
