]> git.baikalelectronics.ru Git - kernel.git/commit
io_uring: do not recycle buffer in READV
authorDylan Yudaken <dylany@fb.com>
Thu, 21 Jul 2022 13:13:25 +0000 (06:13 -0700)
committerJens Axboe <axboe@kernel.dk>
Thu, 21 Jul 2022 14:31:31 +0000 (08:31 -0600)
commit6877e7bb02c33d696b0e214f49937fc1505e63fb
tree6beef5e7c0e18839d1564e00e61f0e8d074783b2
parentbc4924f796e2ecebb00c757e044279a49f445df2
io_uring: do not recycle buffer in READV

READV cannot recycle buffers as it would lose some of the data required to
reimport that buffer.

Reported-by: Ammar Faizi <ammarfaizi2@gnuweeb.org>
Fixes: 48fade0f9c0e ("io_uring: never call io_buffer_select() for a buffer re-select")
Signed-off-by: Dylan Yudaken <dylany@fb.com>
Link: https://lore.kernel.org/r/20220721131325.624788-1-dylany@fb.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
fs/io_uring.c