| Summary: | libglusterfsclient: Cached stat buf inode is different from ino in inode_t | ||
|---|---|---|---|
| Product: | [Community] GlusterFS | Reporter: | Shehjar Tikoo <shehjart> |
| Component: | libglusterfsclient | Assignee: | Shehjar Tikoo <shehjart> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | |
| Severity: | medium | Docs Contact: | |
| Priority: | low | ||
| Version: | 2.0.3 | CC: | gluster-bugs |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | Type: | --- | |
| Regression: | RTP | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
|
Description
Shehjar Tikoo
2009-07-25 23:53:04 UTC
Another temporary workaround can be to fix the read-subvolume in replicate. The problem with simply returning a fixed inode number in readv is that the timestamps will be accurate only for that subvolume. This means that any NFS client side caching will be unpredictable because the timestamps it caches could be from a different sub-volume. PATCH: http://patches.gluster.com/patch/821 in master (cluster/afr: Set inode number in unwind_buf in the inode-write calls.) PATCH: http://patches.gluster.com/patch/825 in master (cluster/afr: Return same inode number in stat buf for readv_cbk) PATCH: http://patches.gluster.com/patch/821 in release-2.0 (cluster/afr: Set inode number in unwind_buf in the inode-write calls.) PATCH: http://patches.gluster.com/patch/826 in release-2.0 (cluster/afr: Return same inode number in stat buf for readv_cbk) Fixed by the following multiple patches: In mainline: http://git.gluster.com/?p=glusterfs.git;a=commit;h=ccd93eb64c0f2f73f83e025d3efae794803aaa4c http://git.gluster.com/?p=glusterfs.git;a=commit;h=ffa5118b2eec9cd12e43ca10d86e91d02a9090a8 In release-2.0: http://git.gluster.com/?p=glusterfs.git;a=commit;h=53438fa2826ea6a5ea9fd9751d797c2875c2dca5 http://git.gluster.com/?p=glusterfs.git;a=commit;h=5a41851e86177e82a8d4ae1457972d5011466eef http://git.gluster.com/?p=glusterfs.git;a=commit;h=87071f027c47ac04b482527a2be58480b4fd5973 http://git.gluster.com/?p=glusterfs.git;a=commit;h=c045d4264bb83fb5e5384379aa3a824fe3038dc8 |