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

2021-04-21 Thread Greg Kurz
On Tue, 20 Apr 2021 14:57:19 -0400 Vivek Goyal wrote: > On Mon, Apr 19, 2021 at 05:11:42PM +0200, Greg Kurz wrote: > > Honor the expected behavior of syncfs() to synchronously flush all > > data and metadata on linux systems. Like the ->sync_fs() superblock > > operation in the linux kernel, FUSE

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

2021-04-20 Thread Vivek Goyal
On Mon, Apr 19, 2021 at 05:11:42PM +0200, Greg Kurz wrote: > Honor the expected behavior of syncfs() to synchronously flush all > data and metadata on linux systems. Like the ->sync_fs() superblock > operation in the linux kernel, FUSE_SYNCFS has a 'wait' argument that > tells whether the server sh

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

2021-04-19 Thread Greg Kurz
Honor the expected behavior of syncfs() to synchronously flush all data and metadata on linux systems. Like the ->sync_fs() superblock operation in the linux kernel, FUSE_SYNCFS has a 'wait' argument that tells whether the server should wait for outstanding I/Os to complete before replying to the c