fuse: incorrect attribute caching with writeback cache disabled

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

 



I have a binary running on a fuse filesystem which is generating a zip file. I
don't know what syscalls are involved since the binary segfaults when run with
strace.

After doing a binary search,
https://github.com/torvalds/linux/commit/fa5eee57e33e79b71b40e6950c29cc46f5cc5cb7
is the commit that seems to have introduced the error. It still seems to
failing with a much newer kernel.

Reverting the fuse_invalidate_attr_mask in fuse_perform_write to
fuse_invalidate_attr makes every other run of the binary produce the correct
output.

I found that enabling the writeback cache makes the binary always produce the
right output. Running the fuse daemon in single threaded mode also works.

Is there anything that sticks out to you that is wrong with the above commit?

Thanks,
Frank Dinoff



[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