The AIO interface is poorly defined. It should be made into
a regular processor.
A Diagram to introduce the current AIO design.
The AIO sub-system has 2 modes:
- ATS Original AIO Mode:
- AIO Dedicated Threads
- Working with pread / pwrite syscall
- Linux Native AIO Mode:
- DiskHandler within ET_NET thread group
- Working with Linux Native AIO
Diagram 1: The ATS Original AIO Mode
Diagram 2: The Linux Native AIO Mode:
Note:
- Based on 6.0.x branch
- There is a bug on Linux Native AIO Mode if error occur on reading / writing.