Eddie Horng: > I printed some logs of above test case, looks like my trace in initial post > is not exactly correct, d_invalidate is not directly call from mkdir > syscall, but I think mkdir triggers nfsd send a changed file handler then > d_invalidate is eventually invoked.
Ok, so the scenario is similar to this case without aufs. NFS CLIENT - mkdir dirA - cd dirA - touch foo NFS SERVER - mv dirA dirB - cp -pr dirB dirA - rm -fr dirB - getcwd(2) in ls(1) --> ESTALE Bang! This looks like an NFS natural behaviour. Hmm, I have to think more in order to make NFS server to address this case. But it might be impossible. J. R. Okajima ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot