mirror of
https://github.com/TECHNOFAB11/zfs-localpv.git
synced 2025-12-11 22:10:11 +01:00
ZFS does not create the zvol if volume size is not multiple of the volblocksize. There are use cases where customer will create a PVC with size as 5G, which will be 5 * 1000 * 1000 * 1000 bytes and this is not the multiple of default volblocksize 8k. In ZFS, volblocksize and recordsize must be power of 2 from 512B to 1M, so keeping the size in the form of Gi or Mi should be sufficient to make volsize multiple of volblocksize/recordsize. Signed-off-by: Pawan <pawan@mayadata.io>
5 lines
184 B
Cheetah
5 lines
184 B
Cheetah
{{.CommentFormat}}
|
|
func {{.DocInfo.Name}}f(t TestingT, {{.ParamsFormat}}) bool {
|
|
if h, ok := t.(tHelper); ok { h.Helper() }
|
|
return {{.DocInfo.Name}}(t, {{.ForwardedParamsFormat}})
|
|
}
|