Re: [fuse] getattr() results ignored when writeback cache is active

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

 



On Wed, Sep 20, 2017 at 1:50 PM, Nikolaus Rath <Nikolaus@xxxxxxxx> wrote:
> Hi,
>
> I'm having another problem with FUSE's writeback cache in SSHFS.
>
> As far as I can tell, the FUSE kernel module issues getattr() requests,
> but then silently discards the reported mtime and file size.
>
> For SSHFS, this means that if a file has been accessed, and is then
> changed on the server, the changed attributes don't make it to the
> client and the file appears truncated or \0-filled.
>
> To me this looks like a bug.. am I missing something?

Writeback cache assumes that the file is never changed outside the
mounted filesystem, so it's not suitable for any network fs currently.

Apparently the above is not documented anywhere :(

Thanks,
Miklos



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