-
Notifications
You must be signed in to change notification settings - Fork 256
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Minor fixes for cimfs writer Adds minor fixes like updating the Windows build which supports CimFS, using safefile for creating directories in CimFS writer etc. * Always expand volume when expanding sandbox VHD Currently, ExpandScratchSize or ExpandSandboxSize functions expand the VHD itself but don't expand the volume on that VHD (unless we are on 19H1 & build < 19020). This works because for legacy layers the PrepareLayer call made just before starting the container will automatically expand the volume to match the size of the VHD. However, in case of CimFS layers we don't call PrepareLayer at all, so in that case we need to expand the volume at the time of expanding the VHD. This also means in case of legacy layers, we might have a small perf hit because the VHD is mounted twice for expansion (once here and once during the PrepareLayer call). But as long as the perf hit is minimal, we should be okay. Signed-off-by: Amit Barve <ambarve@microsoft.com>
- Loading branch information
Showing
7 changed files
with
31 additions
and
21 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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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