Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CA-400743: perform post snapshot rename in ioretry #715

Merged
merged 1 commit into from
Nov 5, 2024

Conversation

MarkSymsCtx
Copy link
Contributor

It appears that SMB3 filers or Windows hosts can return EACCES in response to a rename of a file over one of the links to a file if the rename is done too soon after the hardlink is made. Allow the rename to be retried in the event of EIO or ACCES.

It appears that SMB3 filers or Windows hosts can return EACCES in
response to a rename of a file over one of the links to a file if the
rename is done too soon after the hardlink is made. Allow the rename
to be retried in the event of EIO or ACCES.

Signed-off-by: Mark Syms <mark.syms@cloud.com>
@rosslagerwall
Copy link
Contributor

Might this be a kernel bug? It sounds kind of similar to CA-376740 / CP-43606 although that only affects the 6.x kernel.

@MarkSymsCtx
Copy link
Contributor Author

MarkSymsCtx commented Nov 4, 2024

Might this be a kernel bug? It sounds kind of similar to CA-376740 / CP-43606 although that only affects the 6.x kernel.

I think it's a server side thing. I seem to remember reading about it somewhere. This was primarily seen on the 6.x kernel.

Ah, no, we did discuss this ages back and it does look to be an issue in the 6.x kernel series, but the retry seems to successfully work around it and will be belt and braces if we can fix the kernel issue.

@MarkSymsCtx MarkSymsCtx merged commit 3b76ed1 into xapi-project:master Nov 5, 2024
2 checks passed
@MarkSymsCtx MarkSymsCtx deleted the CA-400743 branch November 5, 2024 10:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants