Re: [PATCH 7/7] fuse: enable FUSE_SYNCFS for all servers

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 27 Aug 2025 at 00:07, Joanne Koong <joannelkoong@xxxxxxxxx> wrote:

> Isn't the sync() in fuse right now gated by fc->sync_fs (which is only
> set to true for virtiofsd)? I don't see where FUSE_SETATTR or
> FUSE_FSYNC get sent in the sync() path to untrusted servers.

Hmm, it's through sync_inodes_one_sb() that fuse_write_inode() could
get called, which then would trigger a FUSE_SETATTR.

Does anyone know how useful sync() is in practice?   I guess most
applications have switched to syncfs() which is more specific.

In any case, I don't remember a complaint about sync(2) ignoring fuse
filesystems.

Thanks,
Miklos




[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [NTFS 3]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [NTFS 3]     [Samba]     [Device Mapper]     [CEPH Development]

  Powered by Linux