zfs-localpv/pkg/driver
Pawan Prakash Sharma b1b69ebfe7
fix(zfspv): rounding off the volume size to Gi and Mi (#191)
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>
2020-08-07 20:50:13 +05:30
..
agent.go feat(zfspv): move to klog (#166) 2020-06-29 12:18:33 +05:30
controller.go fix(zfspv): rounding off the volume size to Gi and Mi (#191) 2020-08-07 20:50:13 +05:30
controller_test.go fix(zfspv): rounding off the volume size to Gi and Mi (#191) 2020-08-07 20:50:13 +05:30
driver.go feat(zfspv): move to klog (#166) 2020-06-29 12:18:33 +05:30
grpc.go feat(shared): adding shared mount support ZFSPV volumes 2020-07-02 00:40:15 +05:30
identity.go feat(zfs-localpv): initial commit 2019-09-18 08:44:08 +05:30
scheduler.go feat(zfspv): move to klog (#166) 2020-06-29 12:18:33 +05:30