ceph-csi/internal/util/cryptsetup
Praveen M f32e2d5dda rbd: add additional space for encrypted volumes
issue: when a block-mode pvc is created with encryption enabled
there is some space reserved for the encryption metadata.
Which doesn't allows users to write extact amount of data that
they have requested for.

solution: create pvc with extra space needed for the encryption
metadata.

The extra space is added during the CreateVolume and ExpandVolume
operations. And while returning the response remove the extra space
so the client/user gets the requested size reported.

Signed-off-by: Praveen M <m.praveen@ibm.com>
2025-01-13 13:51:41 +05:30
..
cryptsetup.go rbd: add additional space for encrypted volumes 2025-01-13 13:51:41 +05:30