fuse passthrough: prefetchEntireFile just retry once to avoid exception stuck by wswsmao · Pull Request #1881 · containerd/stargz-snapshotter (original) (raw)
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