summaryrefslogtreecommitdiffstats
path: root/init
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2018-03-20 16:34:36 +0100
committerChristoph Hellwig <hch@lst.de>2018-05-26 09:16:44 +0200
commit2c14fa838cbefc23cf1c73ca167ed85b274b2913 (patch)
tree23ba97edd9f681ea97850b7c8f56f9048c8ff397 /init
parent888933f8fdf06ecbd5a476b312a37176ab29fb5e (diff)
downloadlinux-2c14fa838cbefc23cf1c73ca167ed85b274b2913.tar.bz2
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>
Diffstat (limited to 'init')
0 files changed, 0 insertions, 0 deletions