| Summary: | OpenOffice fails on GlusterFS $HOME due to fuse_loc_fill error | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Community] GlusterFS | Reporter: | Jeff Darcy <jdarcy> | ||||
| Component: | fuse | Assignee: | Csaba Henk <csaba> | ||||
| Status: | CLOSED CURRENTRELEASE | QA Contact: | |||||
| Severity: | medium | Docs Contact: | |||||
| Priority: | high | ||||||
| Version: | 3.0.0 | CC: | gluster-bugs, rabhat | ||||
| 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: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Attachments: |
|
||||||
|
Description
Jeff Darcy
2009-12-15 15:15:08 UTC
Hi Jeff, Instead of fiddling with fuse_loc_fill Created attachment 120 [details]
Directprint script, required for functionality in printtool -- needs to be in /usr/lib/rhs/rhs-printfilters and chmod 0755
[sorry, accindetal premature enter pressure occured...]
Hi Jeff,
Instead of fiddling with fuse_loc_fill(), we propose to simply not call it when not needed.
Please check if the attached patch solves the problem.
Regards
Csaba
Your patch seems to work for me in the case where I had seen it before. I am concerned, though, that the same basic issue affects more calls than just setattr - i.e. anything that could be called on an open but unlinked file. Is the idea to apply this same logic to other functions? (In reply to comment #3) > Your patch seems to work for me in the case where I had seen it before. I am > concerned, though, that the same basic issue affects more calls than just > setattr - i.e. anything that could be called on an open but unlinked file. Is > the idea to apply this same logic to other functions? Regarding long-term perspectives, I think the logic will be to weed out loc from those code paths which can do just with an fd. According to the internal API, those xlators who want to make use of a loc, they can count on the presence of path there (those involved in your tests didn't actually do that, that's another thing). That said, we'll be just glad if you can find some other scenario where an operation on an unlinked file b0rks. I checked now read/write, they seem to be fine. Csaba PATCH: http://patches.gluster.com/patch/2622 in master (fuse-bridge: Don't try to fill a loc in setattr when we can proceed on with an fd.) |