io_uring/rw: recycle buffers manually for non-mshot reads
authorJens Axboe <axboe@kernel.dk>
Thu, 21 Aug 2025 02:03:35 +0000 (20:03 -0600)
committerJens Axboe <axboe@kernel.dk>
Thu, 21 Aug 2025 11:37:40 +0000 (05:37 -0600)
commit15edad5704d166e1ead66911204474c3bdb31523
tree2628abffb492d68120e86c9edd67f9b64660396c
parent1d4787672ec73fb6b10238666372ce8fc48ca36e
io_uring/rw: recycle buffers manually for non-mshot reads

The mshot side of reads already does this, but the regular read path
does not. This leads to needing recycling checks sprinkled in various
spots in the "go async" path, like arming poll. In preparation for
getting rid of those, ensure that read recycles appropriately.

Link: https://lore.kernel.org/r/20250821020750.598432-8-axboe@kernel.dk
Signed-off-by: Jens Axboe <axboe@kernel.dk>
io_uring/rw.c