]> 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)
commitaeb3b03a83bd89d04dc1f48f49161e63ae29cdb1
tree4226e1b9e59bce38d4a55e28dae49156831811b5
parent044503e93feb81af0d691fd5635de0921171c34c
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