On Tue, Sep 25, 2018 at 10:30 AM, Nikolaus Rath <Nikolaus@xxxxxxxx> wrote: > On Sep 24 2018, Miklos Szeredi <miklos@xxxxxxxxxx> wrote: >> On Mon, Sep 24, 2018 at 10:02 AM, Nikolaus Rath <Nikolaus@xxxxxxxx> wrote: >>> Hi, >>> >>> How do I trigger writeback from a (writeback-cache enabled) FUSE >>> filesystem? >> >> No way, currently (well, triggering fsync(2)/fdatasync(2) on the >> filesystem would work, but such recursion is considered highly >> hackish). > > > You mean sync(2)/syncfs(2), not fsync(), right? Unless my manpages are > out of date, fsync() only works on a specific inode. I would've thought you only need writeback of a specific inode for reflink, no? Thanks, Miklos