-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
shim: fix "deadlock avoided" errors for unmount
Currently, the sporadic "mount_nullfs: /path/to/rootfs: resource deadlock avoided" error occurs during containerd shim task creation. The exact reason for this error is unknown, but a mounter that sorts and unmounts nested mountpoints seems to fix the problem. This change replaces the containerd's mounter with `moby/sys/mount` Fixes #30 Signed-off-by: Samuel Karp <me@samuelkarp.com>
- Loading branch information
1 parent
027fcd7
commit aa66a93
Showing
3 changed files
with
15 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters