io_uring/rw: recycle buffers manually for non-mshot reads
authorJens Axboe <axboe@kernel.dk>
Wed, 20 Aug 2025 15:47:33 +0000 (09:47 -0600)
committerJens Axboe <axboe@kernel.dk>
Wed, 20 Aug 2025 19:03:57 +0000 (13:03 -0600)
commit64c2c29e697811e5f3f0fdc2c6f6b52c0649d2ec
tree65ea355e73db095c89b75313ae122afbf15ec851
parent95bf5873f257e233ffb8bc4b3523de0e36fa9dd3
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.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
io_uring/rw.c