Skip to content

linux-aio: add IO_CMD_FDSYNC command support

Merge Request Required Information

Summary of Changes

Libaio defines IO_CMD_FDSYNC command to sync all outstanding asynchronous I/O operations, by flushing out file data to the disk storage. Enable linux-aio to submit such aio request.

When using aio=native without fdsync() support, QEMU creates pthreads, and destroying these pthreads results in TLB flushes. In a real-time guest environment, TLB flushes cause a latency spike. This patch helps to avoid such spikes.

Approved Development Ticket

Jira: https://issues.redhat.com/browse/RHEL-51901

Merge request reports

Loading