diff options
| author | Pavel Begunkov <[email protected]> | 2022-09-06 16:11:16 +0000 |
|---|---|---|
| committer | Jens Axboe <[email protected]> | 2022-09-07 16:36:10 +0000 |
| commit | df6d3422d3eed27afa23df092b3ce147c558d1a8 (patch) | |
| tree | a2b3f30a0491071182613e931cc2358c7f9ca6be /rust/helpers.c | |
| parent | io_uring/notif: Remove the unused function io_notif_complete() (diff) | |
| download | kernel-df6d3422d3eed27afa23df092b3ce147c558d1a8.tar.gz kernel-df6d3422d3eed27afa23df092b3ce147c558d1a8.zip | |
io_uring/kbuf: fix not advancing READV kbuf ring
When we don't recycle a selected ring buffer we should advance the head
of the ring, so don't just skip io_kbuf_recycle() for IORING_OP_READV
but adjust the ring.
Fixes: 934447a603b22 ("io_uring: do not recycle buffer in READV")
Signed-off-by: Pavel Begunkov <[email protected]>
Reviewed-by: Dylan Yudaken <[email protected]>
Link: https://lore.kernel.org/r/a6d85e2611471bcb5d5dcd63a8342077ddc2d73d.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
