-
Notifications
You must be signed in to change notification settings - Fork 54
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
disk: align logical volumes up in EnsureSize()
When creating an LV they need to be aligned up boundaries or lvcreate will fail. When a lv is create via CreateLogicalVolume() this hapens because the size is calculcated with `v.AlignUp()` but when a resize is required via `lv.EnsureSize()` this is not taken into account. This fixes the failure in bib PR#750
- Loading branch information
1 parent
e82349a
commit 048c8c6
Showing
2 changed files
with
17 additions
and
3 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