+++ This bug was initially created as a clone of Bug #1235542 +++ Description of problem: Any directory or file creation should result in cache-invalidation requests sent to parent directory. However that is not the case currently due to a bug while processing these requests in the upcall xlator. We need to do invalidation checks on parent inode.
Fix is under review in upstream.
Without the fix, in a multi-headed ganesha, directory/file creations via one NFS-ganesha head will not get reflected on mounts connected to other server.
Below patches are submitted to address this issue - https://code.engineering.redhat.com/gerrit/#/c/51717/ https://code.engineering.redhat.com/gerrit/#/c/51718/
The tests that I did were related to creating/removing files, directories and appending data to a file, while trying to access the same from different client where mount is done from a different server. The data modification was seen accordingly.
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://rhn.redhat.com/errata/RHSA-2015-1495.html