diff options
author | Prasad Pandit <pjp@fedoraproject.org> | 2024-04-25 12:34:12 +0530 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2024-06-10 11:05:43 +0200 |
commit | 24687abf237e3c15816d689a8e4b08d7c3190dcb (patch) | |
tree | a5f88ac731a9dbce536a46a866549830bf950e87 /include/qemu/rcu.h | |
parent | 10b1e09ed3c40baf9fe074e0c70a7a3b783839ff (diff) | |
download | qemu-24687abf237e3c15816d689a8e4b08d7c3190dcb.zip qemu-24687abf237e3c15816d689a8e4b08d7c3190dcb.tar.gz qemu-24687abf237e3c15816d689a8e4b08d7c3190dcb.tar.bz2 |
linux-aio: add IO_CMD_FDSYNC command support
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.
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Signed-off-by: Prasad Pandit <pjp@fedoraproject.org>
Message-ID: <20240425070412.37248-1-ppandit@redhat.com>
Reviewed-by: Kevin Wolf <kwolf@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'include/qemu/rcu.h')
0 files changed, 0 insertions, 0 deletions