]> git.baikalelectronics.ru Git - kernel.git/commit
io_uring: return hint on whether more data is available after receive
authorJens Axboe <axboe@kernel.dk>
Tue, 26 Apr 2022 23:39:50 +0000 (17:39 -0600)
committerJens Axboe <axboe@kernel.dk>
Sat, 30 Apr 2022 03:12:12 +0000 (21:12 -0600)
commitd328bdeb910c4fcf35ff6a0d7e3099f721756f3b
tree4226e1b9e59bce38d4a55e28dae49156831811b5
parent8fcafa1c3841a85a181064d2c6bd9cf983d41dc1
io_uring: return hint on whether more data is available after receive

For now just use a CQE flag for this, with big CQE support we could
return the actual number of bytes left.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
fs/io_uring.c
include/uapi/linux/io_uring.h