-
Notifications
You must be signed in to change notification settings - Fork 110
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: parse human size for malloc and null bdevs
Parse a size with unit post-fix for the malloc and null bdevs. This makes it much easier to use, example: size=1TiB vs size_mb=1048576 Signed-off-by: Tiago Castro <[email protected]>
- Loading branch information
1 parent
1e1c05a
commit a367f85
Showing
2 changed files
with
61 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