On Mon, May 10, 2021 at 5:55 PM Greg Kurz <groug@xxxxxxxx> 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