| Summary: | DHT uses wrong subvolume for fsetxattr | ||
|---|---|---|---|
| Product: | [Community] GlusterFS | Reporter: | Jeff Darcy <jdarcy> |
| Component: | distribute | Assignee: | Amar Tumballi <amarts> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | mainline | CC: | amarts, gluster-bugs, lakshmipathi, sgowda, vijay, vraman |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| URL: | http://git.fedorahosted.org/git/?p=CloudFS.git;a=blob;f=patches/dht-fsetxattr.patch;h=4abee523672a74ec261f5bfdf40e52329b8e3192;hb=HEAD | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | Type: | --- | |
| Regression: | RTNR | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
|
Description
Jeff Darcy
2011-01-25 15:36:05 UTC
Hi Jeff, A minor change in your patch is needed: err: 47 + op_errno = (op_errno == -1) ? errno : op_errno; 48 + DHT_STACK_UNWIND (setxattr, frame, -1, op_errno); <--unwind needs to for fsetxattr call and not setxattr call Nice catch. Thanks! Hi Jeff, I will be re-sending this patch to GlusterFS mainline. Hope thats fine right? If you have concerns please let me know so we will not apply it (or revert it if applied). Regards, Amar (In reply to comment #3) > I will be re-sending this patch to GlusterFS mainline. Hope thats fine right? > If you have concerns please let me know so we will not apply it (or revert it > if applied). No concerns here; I think that's excellent. Thanks, Amar. PATCH: http://patches.gluster.com/patch/6213 in master (cluster/dht : implement a fsetxattr() command) |