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.