[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Virtio-fs] [for-6.1 v3 3/3] virtiofsd: Add support for FUSE_SYNCFS
From: |
Miklos Szeredi |
Subject: |
Re: [Virtio-fs] [for-6.1 v3 3/3] virtiofsd: Add support for FUSE_SYNCFS request |
Date: |
Tue, 11 May 2021 14:31:14 +0200 |
On Mon, May 10, 2021 at 5:55 PM Greg Kurz <groug@kaod.org> wrote:
>
> Honor the expected behavior of syncfs() to synchronously flush all data
> and metadata on linux systems. Simply loop on all known submounts and
> call syncfs() on them.
Why not pass the submount's root to the server, so it can do just one
targeted syncfs?
E.g. somehting like this in fuse_sync_fs():
args.nodeid = get_node_id(sb->s_root->d_inode);
Thanks,
Miklos
Re: [for-6.1 v3 0/3] virtiofsd: Add support for FUSE_SYNCFS request, Greg Kurz, 2021/05/10