Bug 1219951
| Summary: | Should not migrate linkto and commit-hash xattrs on tier promotion/demotion | ||
|---|---|---|---|
| Product: | [Community] GlusterFS | Reporter: | Dan Lambright <dlambrig> |
| Component: | tiering | Assignee: | Dan Lambright <dlambrig> |
| Status: | CLOSED NOTABUG | QA Contact: | bugs <bugs> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | mainline | CC: | bugs |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2015-05-12 13:21:36 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | |||
| Bug Blocks: | 1260923 | ||
|
Description
Dan Lambright
2015-05-08 19:38:23 UTC
It does not appear the linkto xattr is transferred on file migration.
/* remove the 'linkto' xattr from the destination */
ret = syncop_fremovexattr (to, dst_fd, conf->link_xattr_name, 0, NULL);
if (ret) {
gf_log (this->name, GF_LOG_WARNING,
"%s: failed to perform removexattr on %s (%s)",
loc->path, to->name, strerror (-ret));
ret = -1;
}
|