ceph-csi/internal/rbd
Praveen M a5af5a1382 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>
2024-08-13 13:12:19 +00:00
..
driver util: add CSIDriver.GetInstanceID() 2024-08-05 17:04:52 +00:00
group rbd: update group Stringer method 2024-07-31 12:16:42 +00:00
types rbd: have GetCreationTime() return a time.Time struct 2024-08-09 14:58:59 +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 2024-08-13 13:12:19 +00:00
diskusage.go rbd: do not execute rbd sparsify when volume is in use 2023-07-11 13:48:36 +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 2024-08-13 13:12:19 +00:00
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.go rbd: refractor to use mirror interface 2024-07-26 12:14:20 +00:00
identityserver.go ci: fix all linter errors found in golangci-lint 2022-06-03 12:55:54 +00:00
manager.go rbd: return more descriptive error 2024-07-31 12:16:42 +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 cleanup: pass context to rbdImage.Destroy() 2024-07-08 09:23:58 +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: address golangci-lint issues 2024-04-09 06:55:23 +00:00
rbd_journal.go util: add CSIDriver.GetInstanceID() 2024-08-05 17:04:52 +00:00
rbd_util_test.go build: address 'intrange' linter warning 2024-04-29 14:36:48 +00:00
rbd_util.go rbd: add additional space for encrypted volumes 2024-08-13 13:12:19 +00:00
replication.go rbd: add context to mirror interface 2024-07-31 12:16:42 +00:00
snapshot.go rbd: convert rbdVolume to rbdSnapshot 2024-08-09 14:58:59 +00:00