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

Handling error during initOp response to kernel #151

Merged
merged 2 commits into from Oct 3, 2023

Conversation

raj-prince
Copy link
Contributor

@raj-prince raj-prince commented Oct 3, 2023

Currently, we do not handle errors while responding to the kernel. Ideally, we should handle this for all operations; however, that requires more changes. Currently, we are narrowing the scope to errors that occur while communicating the InitOp response to the kernel. This will fail the mounting process, which is not happening right now.

Related issues: GoogleCloudPlatform/gcsfuse#583

I have manually tested by adding a custom error message while writing a message. However, I am not able to reproduce the above mentioned issue.

mountWithArgs: mountWithStorageHandle: Mount: newConnection: Init: writeMessage: Test error [80 0 0 0 0 0 0 0 2 0 0 0 0 0 0 0]

Impact:
After this change, if the user-daemon fails to respond the kernel for initOp with an error, the user will not be able to mount successfully.

connection.go Outdated Show resolved Hide resolved
@stapelberg stapelberg merged commit d0f3daf into jacobsa:master Oct 3, 2023
3 checks passed
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.

None yet

3 participants