io_uring: return hint on whether more data is available after receive io_uring-flags2
authorJens Axboe <axboe@kernel.dk>
Tue, 26 Apr 2022 23:39:50 +0000 (17:39 -0600)
committerJens Axboe <axboe@kernel.dk>
Wed, 27 Apr 2022 19:45:18 +0000 (13:45 -0600)
commitef2c2c975a921046e081a6aa29732c5c7b09cdb2
tree72c3122a5bc2b3a65b8bbd1f11e1e6f142985828
parentb401d88339d015e9d2d9f176814ffaae4d7bc438
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