io_uring: indicate if io_kbuf_recycle did recycle anything
authorDylan Yudaken <dyudaken@gmail.com>
Mon, 6 Nov 2023 20:39:07 +0000 (20:39 +0000)
committerJens Axboe <axboe@kernel.dk>
Mon, 6 Nov 2023 20:41:58 +0000 (13:41 -0700)
commit89d528ba2f8281de61163c6b62e598b64d832175
treeaed81b112e0b62692199170fcff2d026cd290136
parentf688944cfb810986c626cb13d95bc666e5c8a36c
io_uring: indicate if io_kbuf_recycle did recycle anything

It can be useful to know if io_kbuf_recycle did actually recycle the
buffer on the request, or if it left the request alone.

Signed-off-by: Dylan Yudaken <dyudaken@gmail.com>
Link: https://lore.kernel.org/r/20231106203909.197089-2-dyudaken@gmail.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
io_uring/kbuf.c
io_uring/kbuf.h