Sample Header Ad - 728x90

Linux AIO / io_submit / io_getevents / on fifo (named pipes)

0 votes
1 answer
504 views
I have to write a lot of data to a pipe. Can I use the Linux calls `io_submit/io_getevents` for writing to Named Pipes or it is defined only for regular files. I tried finding any document which explains the AIO over pipes but couldn't. Can someone help here. Majorly I am concerned about the `aio_offset field in struct iocb`. What if a data packet with offset 8096 is scheduled for read/write before a data packet of offset as 4096.
Asked by Rishi Agrawal (1 rep)
Jun 1, 2018, 05:43 AM
Last activity: Jul 12, 2018, 10:03 PM