Re: [PATCHSET RFC v4 4/4] libfuse: implement syncfs

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

 



On Thu, Aug 21, 2025 at 11:41:54PM +0200, Bernd Schubert wrote:
> 
> 
> On 8/21/25 02:49, Darrick J. Wong wrote:
> > Hi all,
> > 
> > Implement syncfs in libfuse so that iomap-compatible fuse servers can
> > receive syncfs commands.
> > 
> > If you're going to start using this code, I strongly recommend pulling
> > from my git trees, which are linked below.
> > 
> > With a bit of luck, this should all go splendidly.
> > Comments and questions are, as always, welcome.
> > 
> > --D
> > 
> > kernel git tree:
> > https://git.kernel.org/cgit/linux/kernel/git/djwong/xfs-linux.git/log/?h=fuse-iomap-attrs
> > ---
> > Commits in this patchset:
> >  * libfuse: wire up FUSE_SYNCFS to the low level library
> >  * libfuse: add syncfs support to the upper library
> > ---
> >  include/fuse.h          |    5 +++++
> >  include/fuse_lowlevel.h |   16 ++++++++++++++++
> >  lib/fuse.c              |   31 +++++++++++++++++++++++++++++++
> >  lib/fuse_lowlevel.c     |   19 +++++++++++++++++++
> >  4 files changed, 71 insertions(+)
> > 
> 
> Thank you, both look good to me. This is independent of io-map - we can
> apply it immediately?

Yes, please!  Note that we'll have to decide if the kernel is going to
enable sending syncfs for all servers, not just the virtiofs ones.

--D

> 
> Thanks,
> Bernd




[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