Bug 1235544

Summary: Upcall: Directory or file creation should send cache invalidation requests to parent directories
Product: [Red Hat Storage] Red Hat Gluster Storage Reporter: Soumya Koduri <skoduri>
Component: nfs-ganeshaAssignee: Soumya Koduri <skoduri>
Status: CLOSED ERRATA QA Contact: Saurabh <saujain>
Severity: urgent Docs Contact:
Priority: urgent    
Version: rhgs-3.1CC: annair, mzywusko, nlevinki, rcyriac, saujain, vagarwal
Target Milestone: ---   
Target Release: RHGS 3.1.0   
Hardware: All   
OS: All   
Whiteboard:
Fixed In Version: glusterfs-3.7.1-6 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 1235542 Environment:
Last Closed: 2015-07-29 05:07:39 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1235542, 1236274    
Bug Blocks: 1202842, 1235543    

Description Soumya Koduri 2015-06-25 06:52:40 UTC
+++ 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.

Comment 2 Soumya Koduri 2015-06-25 06:53:27 UTC
Fix is under review in upstream.

Comment 3 Soumya Koduri 2015-06-25 06:54:30 UTC
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.

Comment 6 Soumya Koduri 2015-06-27 08:17:33 UTC
Below patches are submitted to address this issue -
https://code.engineering.redhat.com/gerrit/#/c/51717/
https://code.engineering.redhat.com/gerrit/#/c/51718/

Comment 7 Saurabh 2015-07-14 05:50:22 UTC
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.

Comment 8 errata-xmlrpc 2015-07-29 05:07:39 UTC
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