io_uring: introduce io_has_work
authorDylan Yudaken <dylany@fb.com>
Tue, 30 Aug 2022 12:50:08 +0000 (05:50 -0700)
committerJens Axboe <axboe@kernel.dk>
Wed, 21 Sep 2022 16:30:42 +0000 (10:30 -0600)
commitb4c98d59a787eff4c8ee983bcf68266ce2199df6
treec2e48e078d4d9e066f26f5733e503b4c4641dd2d
parent32d91f0590080597d5fc46c0c36d8885c241622e
io_uring: introduce io_has_work

This will be used later to know if the ring has outstanding work. Right
now just if there is overflow CQEs to copy to the main CQE ring, but later
will include deferred tasks

Signed-off-by: Dylan Yudaken <dylany@fb.com>
Link: https://lore.kernel.org/r/20220830125013.570060-3-dylany@fb.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
io_uring/io_uring.c