ceph-csi/internal/rbd
Praveen M 90e04cfcc3 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-02-10 13:23:42 +05:30
..
driver csiaddons: use rbd.Manager within ReclaimSpaceControllerServer 2025-01-28 10:19:58 +00:00
features rbd: add feature check to see if GroupSnapGetInfo is available 2024-10-10 15:45:47 +00:00
group util: return correct status code for VolumeGroupSnapshot 2024-12-19 10:42:01 +00:00
types rbd: add RegenerateVolumeGroupJournal method for Manager interface 2025-01-28 17:19:32 +00:00
clone.go rbd: rename deleteImage() to Delete() 2024-07-08 09:23:58 +00:00
controllerserver_test.go build: address 'copyloopvar' linter warning 2024-04-29 14:36:48 +00:00
controllerserver.go rbd: add additional space for encrypted volumes 2025-02-10 13:23:42 +05:30
diskusage.go csiaddons: use rbd.Manager within ReclaimSpaceControllerServer 2025-01-28 10:19:58 +00:00
encryption_test.go build: address 'copyloopvar' linter warning 2024-04-29 14:36:48 +00:00
encryption.go rbd: add additional space for encrypted volumes 2025-02-10 13:23:42 +05:30
errors.go rbd: use internal as default error code in getGRPCError() 2024-06-11 15:17:53 +00:00
globals.go util: add CSIDriver.GetInstanceID() 2024-08-05 17:04:52 +00:00
group_controllerserver.go util: return correct status code for VolumeGroupSnapshot 2024-12-19 10:42:01 +00:00
group.go rbd: close the RBD-image after adding it to a VolumeGroup 2024-11-06 11:37:44 +00:00
identityserver.go rbd: expose the GroupControllerService 2024-11-06 11:37:44 +00:00
manager.go rbd: add RegenerateVolumeGroupJournal method for Manager interface 2025-01-28 17:19:32 +00:00
migration_test.go build: address 'copyloopvar' linter warning 2024-04-29 14:36:48 +00:00
migration.go rbd: rename deleteImage() to Delete() 2024-07-08 09:23:58 +00:00
mirror.go rbd: add context to mirror interface 2024-07-31 12:16:42 +00:00
nodeserver_test.go ci: Use temporary directory for unit tests 2024-05-27 05:57:27 +00:00
nodeserver.go rbd: Use assume_storage_prezeroed when formatting 2025-01-24 11:58:33 +00:00
rbd_attach_test.go build: address 'copyloopvar' linter warning 2024-04-29 14:36:48 +00:00
rbd_attach.go build: address 'intrange' linter warning 2024-04-29 14:36:48 +00:00
rbd_healer.go rbd: add a check for CSI pv 2024-08-27 17:08:44 +00:00
rbd_journal.go rbd: use correct radosnamespace 2025-01-21 16:12:23 +00:00
rbd_util_test.go rbd: consider ErrPermissionDenied for vol 2024-10-03 08:40:07 +00:00
rbd_util.go rbd: add additional space for encrypted volumes 2025-02-10 13:23:42 +05:30
replication.go rbd: fail DisableVolumeReplication() if image is not mirror disabled 2024-09-11 16:22:29 +00:00
snapshot.go ci: address arguments have the wrong order (staticcheck) 2025-01-08 11:56:24 +00:00