Skip to contentSkip to conversation

io_submit.2: Add IOCB_CMD_POLL opcode

PATCH Michael Kerrisk (man-pages) 1 participant 1 message Apr 9, 2020 1 message not in the archive Man-pages: manual pages for Linux -- Sections 2, 3, 4, 5, and 7

lore
Share & tools
lore
#1 lore raw
In reply to a message not in the archive
Quoted 5 lines · Julia Suvorova

A new feature of one-shoot polling through io_submit was introduced in bfe4037e722ec commit. Keep things up-to-date due to changes in linux/aio_abi.h.

Thanks, Julia. Patch applied.

Cheers,

Michael

Quoted 17 lines
---
 man2/io_submit.2 | 1 +
 1 file changed, 1 insertion(+)
man2/io_submit.2 +1 -0
index ed98da46c..58306d549 100644
@@ -144,6 +144,7 @@ enum {
     IOCB_CMD_PWRITE = 1,
     IOCB_CMD_FSYNC = 2,
     IOCB_CMD_FDSYNC = 3,
+    IOCB_CMD_POLL = 5,
     IOCB_CMD_NOOP = 6,
     IOCB_CMD_PREADV = 7,
     IOCB_CMD_PWRITEV = 8,
Signature · 3 lines
Michael Kerrisk
Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
Linux/UNIX System Programming Training: http://man7.org/training/