aboutsummaryrefslogtreecommitdiff
path: root/gitdm.config
diff options
context:
space:
mode:
authorVivek Goyal <vgoyal@redhat.com>2019-08-20 14:37:46 -0400
committerDr. David Alan Gilbert <dgilbert@redhat.com>2020-01-23 16:41:37 +0000
commit65da4539803373ec4eec97ffc49ee90083e56efd (patch)
tree0a56e1a9b7c8e3b391dc7291d933b3fbd5eadb43 /gitdm.config
parentfc1aed0bf96259d0b46b1cfea7497b7762c4ee3d (diff)
downloadqemu-65da4539803373ec4eec97ffc49ee90083e56efd.zip
qemu-65da4539803373ec4eec97ffc49ee90083e56efd.tar.gz
qemu-65da4539803373ec4eec97ffc49ee90083e56efd.tar.bz2
virtiofsd: Reset O_DIRECT flag during file open
If an application wants to do direct IO and opens a file with O_DIRECT in guest, that does not necessarily mean that we need to bypass page cache on host as well. So reset this flag on host. If somebody needs to bypass page cache on host as well (and it is safe to do so), we can add a knob in daemon later to control this behavior. I check virtio-9p and they do reset O_DIRECT flag. Signed-off-by: Vivek Goyal <vgoyal@redhat.com> Reviewed-by: Daniel P. Berrangé <berrange@redhat.com> Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Diffstat (limited to 'gitdm.config')
0 files changed, 0 insertions, 0 deletions