Skip to content
This repository has been archived by the owner on Jul 25, 2022. It is now read-only.

Disable xattr copy in rsync #2320

Merged
merged 1 commit into from
Oct 9, 2020
Merged

Disable xattr copy in rsync #2320

merged 1 commit into from
Oct 9, 2020

Conversation

beevans
Copy link
Contributor

@beevans beevans commented Oct 9, 2020

Signed-off-by: Ben Evans beevans@whamcloud.com


This change is Reviewable

Signed-off-by: Ben Evans <beevans@whamcloud.com>
@beevans beevans self-assigned this Oct 9, 2020
@@ -26,7 +26,6 @@ fn do_rsync<'a>(
let output = Command::new("rsync")
.arg("-a")
.arg("-t")
.arg("-X")
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Don't we WANT xattrs? otherwise we lose striping info, right?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Right, but if you copy it to NFS the whole thing fails. We need to create an enhancement for this to duplicate them somehow on the side like other systems do, or only support them for mountpoints that support xattrs.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

okay. We should probably check at some point, but we would want to cache answer locally, so it can wait.

Copy link
Contributor

@utopiabound utopiabound left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A ticket should be opened to sync xattr's when possible

@jgrund jgrund merged commit 641a41f into master Oct 9, 2020
@jgrund jgrund deleted the EX-1919 branch October 9, 2020 22:51
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants