Skip to content

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

Merged
ktock merged 1 commit intocontainerd:mainfrom
wswsmao:main
Dec 2, 2024
Merged

fuse passthrough: prefetchEntireFile just retry once to avoid exception stuck#1881
ktock merged 1 commit intocontainerd:mainfrom
wswsmao:main

Conversation

@wswsmao
Copy link
Copy Markdown
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
Copy Markdown
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
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