| Summary: | ls on paths not on virtual mounts report wrong directory contents | ||
|---|---|---|---|
| Product: | [Community] GlusterFS | Reporter: | Raghavendra G <raghavendra> |
| Component: | booster | Assignee: | Raghavendra G <raghavendra> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | |
| Severity: | low | Docs Contact: | |
| Priority: | low | ||
| Version: | 2.0.7 | CC: | gluster-bugs, krishna, min, shehjart |
| 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: | --- | 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-10-23 18:22:23 UTC
Duplicate but not resolved. root@booradley:/home/raghu/vol-specs/point-to-point# LD_PRELOAD=/usr/lib/glusterfs/glusterfs-booster.so ls /home/raghu/vol-specs/point-to-point/ ?goE -client.vol 1 d.out.18393 d.out.9595 ml s.log ?รณ ? -server.vol ad.vol d.out.3567 hind.vol nce-xlators.vol sd.log both readdir and readdir64 call same function - booster_readdir - in their implementation. This is wrong since the dirent structures returned by libc implementations of readdir and readdir64 are different (readdir returns (struct dirent *), readdir64 returns (struct dirent64 *)). There should be different implementations for readdir and readdir64. PATCH: http://patches.gluster.com/patch/1993 in master (booster: seperate out the implementations of readdir and readdir64.) PATCH: http://patches.gluster.com/patch/1994 in release-2.0 (booster: seperate out the implementations of readdir and readdir64.) *** Bug 295 has been marked as a duplicate of this bug. *** |