mirror of
https://github.com/TECHNOFAB11/zfs-localpv.git
synced 2025-12-12 06:20: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
185 B
Cheetah
5 lines
185 B
Cheetah
{{.CommentWithoutT "a"}}
|
|
func (a *Assertions) {{.DocInfo.Name}}({{.Params}}) bool {
|
|
if h, ok := a.t.(tHelper); ok { h.Helper() }
|
|
return {{.DocInfo.Name}}(a.t, {{.ForwardedParams}})
|
|
}
|