Bug 1235544 - Upcall: Directory or file creation should send cache invalidation requests to parent directories
Summary: Upcall: Directory or file creation should send cache invalidation requests to...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Gluster Storage
Classification: Red Hat Storage
Component: nfs-ganesha
Version: rhgs-3.1
Hardware: All
OS: All
urgent
urgent
Target Milestone: ---
: RHGS 3.1.0
Assignee: Soumya Koduri
QA Contact: Saurabh
URL:
Whiteboard:
Depends On: 1235542 1236274
Blocks: 1202842 1235543
TreeView+ depends on / blocked
 
Reported: 2015-06-25 06:52 UTC by Soumya Koduri
Modified: 2016-01-19 06:14 UTC (History)
6 users (show)

Fixed In Version: glusterfs-3.7.1-6
Doc Type: Bug Fix
Doc Text:
Clone Of: 1235542
Environment:
Last Closed: 2015-07-29 05:07:39 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2015:1495 0 normal SHIPPED_LIVE Important: Red Hat Gluster Storage 3.1 update 2015-07-29 08:26:26 UTC

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


Note You need to log in before you can comment on or make changes to this bug.