Re: [PATCH 096/104] virtiofsd: Reset O_DIRECT flag during file open

2020-01-07 Thread Daniel P . Berrangé
On Thu, Dec 12, 2019 at 04:38:56PM +, Dr. David Alan Gilbert (git) wrote: > From: Vivek Goyal > > 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.

[PATCH 096/104] virtiofsd: Reset O_DIRECT flag during file open

2019-12-12 Thread Dr. David Alan Gilbert (git)
From: Vivek Goyal 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 ca