Skip to content

fuse passthrough: prefetchEntireFile just retry once to avoid exception stuck #1881

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

Merged
merged 1 commit into from
Dec 2, 2024

Conversation

wswsmao
Copy link
Contributor

@wswsmao wswsmao commented Dec 2, 2024

In GetPassthroughFd, infinite loop prefetchEntireFile may lead to stuck on some destructive occasions,such as removing /var/lib/containerd-stargz-grpc/snapshotter/* directly after pulling images.

retry once is enough and is able to avoid stuck

Copy link
Member

@ktock ktock left a comment

Choose a reason for hiding this comment

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

Thanks

@ktock ktock merged commit a6894ec into containerd:main Dec 2, 2024
26 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.

2 participants