Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
mount.Umount: EBUSY: try at most 50 times
The function is being used in a number of places, notably container removal and cleanup. While container removal already loops over EBUSY, cleanup does not. To make sure that all callers of Unmount get a fair chance of unmounting cleanly, also loop there. I used the same values as containerd: 50 loops with 50ms sleeps. Context: containers/podman/issues/11594 Signed-off-by: Valentin Rothberg <[email protected]>
- Loading branch information