Documentation ¶
Index ¶
Constants ¶
View Source
const ( // DefaultMinimumAllocationSizeBlock is the default minimum size for a block volume. // Derived from the usual physical extent size of 4Mi * 2 (for accommodating metadata) DefaultMinimumAllocationSizeBlock = "8Mi" // DefaultMinimumAllocationSizeXFS is the default minimum size for a filesystem volume with XFS formatting. // Derived from the hard XFS minimum size of 300Mi that is enforced by the XFS filesystem. DefaultMinimumAllocationSizeXFS = "300Mi" // DefaultMinimumAllocationSizeExt4 is the default minimum size for a filesystem volume with ext4 formatting. // Derived from the usual 4096K blocks, 1024 inode default and journaling overhead, // Allows for more than 80% free space after formatting, anything lower significantly reduces this percentage. DefaultMinimumAllocationSizeExt4 = "32Mi" // DefaultMinimumAllocationSizeBtrfs is the default minimum size for a filesystem volume with btrfs formatting. // Btrfs changes its minimum allocation size based on various underlying device block settings and the host OS, // but 200Mi seemed to be safe after some experimentation. DefaultMinimumAllocationSizeBtrfs = "200Mi" )
Variables ¶
This section is empty.
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.