Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Previously it was possible that we return a VM with wrong storage flags from a vm pool, because vm pools were not filtered by storage flags. This PR adds storage flags to vm pools to fix that. Note that we only include flags that affect the storage device guarantees. These flags are: * `skip_sync`: which ignores FLUSH requests to the block device. This increases the performance, but makes the device not crash-recoverable. * `encrypted` We didn't include `use_bdev_ubi` because it only affects performance, and not the storage guarantees.
- Loading branch information
Showing
4 changed files
with
44 additions
and
11 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
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