]> www.infradead.org Git - users/jedix/linux-maple.git/commit
io_uring/mock: add trivial poll handler
authorPavel Begunkov <asml.silence@gmail.com>
Mon, 30 Jun 2025 18:16:56 +0000 (19:16 +0100)
committerJens Axboe <axboe@kernel.dk>
Wed, 2 Jul 2025 14:10:26 +0000 (08:10 -0600)
commite448d578264a9512d38deb8c418954d5f3e20712
treebf9a8dcdb7c14e257cf28039813aea8bbada01aa
parent0c98a44329c10bf904434524425cb42043513bd6
io_uring/mock: add trivial poll handler

Add a flag that enables polling on the mock file. For now it's trivially
says that there is always data available, it'll be extended in the
future.

Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Link: https://lore.kernel.org/r/f16de043ec4876d65fae294fc99ade57415fba0c.1750599274.git.asml.silence@gmail.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
include/uapi/linux/io_uring/mock_file.h
io_uring/mock_file.c