| Summary: | [glusterfs-3.1.5qa2]: stat gives EINVAL | ||
|---|---|---|---|
| Product: | [Community] GlusterFS | Reporter: | Raghavendra Bhat <rabhat> |
| Component: | stat-prefetch | Assignee: | Raghavendra G <raghavendra> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 3.1.4 | CC: | anush, jdarcy, rahulcs |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | Type: | --- | |
| Regression: | RTA | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
|
Description
Raghavendra Bhat
2011-06-16 09:28:37 UTC
PATCH: http://patches.gluster.com/patch/7588 in master (fuse: consider a lookup as revalidate even if the inode is present in new graph.) PATCH: http://patches.gluster.com/patch/7576 in release-3.1 (fuse: consider a lookup as revalidate even if the inode is present in new graph.) PATCH: http://patches.gluster.com/patch/7589 in release-3.2 (fuse: consider a lookup as revalidate even if the inode is present in new graph.) A simple test to reproduce the bug would be: 1. create a directory on mount and cd into it - /mnt/gluster1/dir 2. have another mount and create a file in that directory /mnt/gluster2/dir# touch file 3. do ls on the first mount /mnt/gluster1/dir# ls file 4. create a new graph in both clients by turning off a translator #gluster volume ptop performance.write-behind off 5. on client2, remove and recreate file /mnt/gluster2/dir# rm -f file && touch file 6. on client1, ls on the file should produce junk output or some error /mnt/gluster1/dir# ls file Works with 3.2.2qa1 PATCH: http://patches.gluster.com/patch/7786 in release-3.2 (mnt/fuse: generate uuids in fuse_lookup, not in fuse_lookup_resume.) PATCH: http://patches.gluster.com/patch/7769 in master (mnt/fuse: generate uuids in fuse_lookup, not in fuse_lookup_resume.) PATCH: http://patches.gluster.com/patch/7770 in release-3.1 (mnt/fuse: generate uuids in fuse_lookup, not in fuse_lookup_resume.) Tried to reproduce with Du's comment on reproduce the bug. Tested against 0c01d96a065deb992a8c3a0b24c74a70ab99ea86 on 3.1 branch |