Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve handling of fsnotify events for container rootfs removal.
Prior to this commit, sysbox-mgr only monitored fsnotify events that signaled the removal of a container's rootfs. However in some situations it appears fsnotify can miss the notification or notify via a different event type (see fsnotify/fsnotify#404). This commit causes sysbox-mgr to explicitly check for container rootfs removal whenever it receives any fsnotify event. In addition, update the fsnotify version from v1.4.7 -> v1.5.4 to leverage several improvements and bug fixes. Signed-off-by: Cesar Talledo <cesar.talledo@docker.com>
- Loading branch information
Showing
3 changed files
with
14 additions
and
10 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