> OK.
> I will try reproducing the problem and reading the source code to see
> what is happening. It will be the latest version of ntfs-3g, but I don't
> care for a while. When you find out the exact version you are using,
> please let me know.

I think I could find the root cause.
In fs/fuse/dir.c:fuse_link(), we see the comment.

        /* Contrary to "normal" filesystems it can happen that link
           makes two "logical" inodes point to the same "physical"
           inode.  We invalidate the attributes of the old one, so it
           will reflect changes in the backing inode (link count,
           etc.)
        */

In your case, aufs finds two different inodes (which should be one), and
stops working since this is unusual situation. If you set
CONFIG_AUFS_DEBUG, you will see the message from aufs.

Now what should the solution be?
- make fuse an ordinary filesystem whose link(2) doesn't make another
  inode.
- make aufs to support such filesystem whose link(2) creates another
  inode.
- etc.

I don't know the answer.
I am still thinking...


J. R. Okajima

------------------------------------------------------------------------------

Reply via email to