ceph-csi/internal/util
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
..
file rbd: implement pv key rotation 2024-07-19 13:26:28 +00:00
fscrypt util: address golangci-lint issues 2024-04-09 06:55:23 +00:00
k8s build: address 'copyloopvar' linter warning 2024-04-29 14:36:48 +00:00
lock util: Add IOCtxLock interface 2024-07-30 14:51:49 +00:00
log build: address gocritic warnings 2023-06-05 04:49:46 +00:00
reftracker build: address 'intrange' linter warning 2024-04-29 14:36:48 +00:00
cephcmds_test.go build: address 'copyloopvar' linter warning 2024-04-29 14:36:48 +00:00
cephcmds.go util: Removing JoinError in favor of fmt.Errorf 2024-05-22 09:05:42 +00:00
cephconf.go cleanup: remove ceph.conf WA options which are already fixed 2022-02-04 15:42:32 +00:00
cluster_mapping_test.go build: address 'copyloopvar' linter warning 2024-04-29 14:36:48 +00:00
cluster_mapping.go ci: fix all linter errors found in golangci-lint 2022-06-03 12:55:54 +00:00
conn_pool_test.go build: address nolintlint errors from new golangci-lint 2023-06-05 04:49:46 +00:00
conn_pool.go cleanup: use os.ReadFile to read file 2022-01-24 05:25:11 +00:00
connection.go util: Removing JoinError in favor of fmt.Errorf 2024-05-22 09:05:42 +00:00
credentials_test.go build: address 'copyloopvar' linter warning 2024-04-29 14:36:48 +00:00
credentials.go cleanup: fix static checks 2023-02-02 14:53:59 +00:00
crushlocation_test.go util: exclude empty label values for crushlocation map 2024-07-16 09:57:37 +00:00
crushlocation.go util: exclude empty label values for crushlocation map 2024-07-16 09:57:37 +00:00
crypto_test.go util: address golangci-lint issues 2024-04-09 06:55:23 +00:00
crypto.go rbd: implement pv key rotation 2024-07-19 13:26:28 +00:00
cryptsetup.go rbd: add additional space for encrypted volumes 2024-08-13 13:12:19 +00:00
csiconfig_test.go build: address 'copyloopvar' linter warning 2024-04-29 14:36:48 +00:00
csiconfig.go util: add support to configure mirror daemon count 2024-04-22 09:49:59 +00:00
errors.go util: Removing JoinError in favor of fmt.Errorf 2024-05-22 09:05:42 +00:00
getsecret_test.go util: address golangci-lint issues 2024-04-09 06:55:23 +00:00
httpserver.go build: address gosec warning 2023-06-05 04:49:46 +00:00
idlocker_test.go util: remove deleteLock test as it is enforced by the controller 2021-07-22 15:07:49 +00:00
idlocker.go cleanup: fix static checks 2023-02-03 08:55:43 +00:00
pidlimit_test.go cleanup: resolves gofumpt issues of internal codes 2021-07-14 19:50:56 +00:00
pidlimit.go util: address golangci-lint issues 2024-04-09 06:55:23 +00:00
read_affinity_test.go build: address 'copyloopvar' linter warning 2024-04-29 14:36:48 +00:00
read_affinity.go cephfs: add read affinity mount option 2023-11-22 13:13:01 +00:00
stripsecrets.go cleanup: resolve nlreturn linter issues 2021-07-22 06:05:01 +00:00
topology_test.go rbd: fix topology snapshot pool 2022-03-30 04:40:30 +00:00
topology.go cleanup: append pointer instead of value to avoid copying lock value 2024-07-10 12:18:50 +00:00
util_test.go build: address 'copyloopvar' linter warning 2024-04-29 14:36:48 +00:00
util.go cephfs: support omap data store in radosnamespace via cli argument 2024-07-30 07:13:48 +00:00
validate.go util: address golangci-lint issues 2024-04-09 06:55:23 +00:00
volid_test.go cleanup: do not pass EncodingVersion to GenerateVolID() 2024-03-18 06:23:28 +00:00
volid.go cleanup: do not pass EncodingVersion to GenerateVolID() 2024-03-18 06:23:28 +00:00