Re: [for-6.1 v2 2/2] virtiofsd: Add support for FUSE_SYNCFS request

2021-05-05 Thread Greg Kurz
On Wed, 5 May 2021 14:52:42 -0400 Vivek Goyal wrote: > On Mon, Apr 26, 2021 at 05:21:35PM +0200, Greg Kurz wrote: > > Honor the expected behavior of syncfs() to synchronously flush all > > data and metadata on linux systems. > > > > Flushing is done with syncfs(). This is suboptimal as it will a

Re: [for-6.1 v2 2/2] virtiofsd: Add support for FUSE_SYNCFS request

2021-05-05 Thread Vivek Goyal
On Mon, Apr 26, 2021 at 05:21:35PM +0200, Greg Kurz wrote: > Honor the expected behavior of syncfs() to synchronously flush all > data and metadata on linux systems. > > Flushing is done with syncfs(). This is suboptimal as it will also > flush writes performed by any other process on the same fil

[for-6.1 v2 2/2] virtiofsd: Add support for FUSE_SYNCFS request

2021-04-26 Thread Greg Kurz
Honor the expected behavior of syncfs() to synchronously flush all data and metadata on linux systems. Flushing is done with syncfs(). This is suboptimal as it will also flush writes performed by any other process on the same file system, and thus add an unbounded time penalty to syncfs(). This ma