aio: implement IOCB_CMD_POLL
Simple one-shot poll through the io_submit() interface. To poll for a file descriptor the application should submit an iocb of type IOCB_CMD_POLL. It will poll the fd for the events specified in the the first 32 bits of the aio_buf field of the iocb. Unlike poll or epoll without EPOLLONESHOT this interface always works in one shot mode, that is once the iocb is completed, it will have to be resubmitted. Signed-off-by:Christoph Hellwig <hch@lst.de> Reviewed-by:
Darrick J. Wong <darrick.wong@oracle.com>
Loading
-
mentioned in commit c2d27c6f
-
mentioned in commit c0d51718
-
mentioned in commit 721c3823
-
mentioned in commit dc6f8f5a
-
mentioned in commit 6199e6ee
-
mentioned in commit 613c4a95
-
mentioned in commit 8fbe7283
-
mentioned in commit 0a34c751
-
mentioned in commit 0d808b84
-
mentioned in commit e29e5cc4
-
mentioned in commit 0d33a197
-
mentioned in commit 762ec5d2
Please sign in to comment