ceph-csi/internal/rbd
Niels de Vos 25d0a1cfc0 rbd: add support for block-devices in NodeGetVolumeStats()
The NodeGetVolumeStats procedure can now be used to fetch the capacity
of the RBD block-device. By default this is a thin-provisioned device,
which means that the capacity is not reserved in the Ceph cluster. This
makes it possible to over-provision the cluster.

In order to detect the amount of storage used by the RBD block-device
(when thin-provisioned), it is required to connect to the Ceph cluster.
Unfortunately, the NodeGetVolumeStats CSI procedure does not provide
enough parameters to connect to the Ceph cluster and fetch more details
about the RBD image.

Signed-off-by: Niels de Vos <ndevos@redhat.com>
2021-05-25 06:41:04 +00:00
..
clone.go cleanup: release resources for rbdImages objects after use 2021-04-14 03:59:28 +00:00
controllerserver.go rbd: return crypt error for the rpc return 2021-04-21 16:10:20 +00:00
driver.go rbd: Add ReplicationServer struct for replication operations 2021-04-05 08:53:40 +00:00
encryption.go logging: report issues in rbdImage.DEKStore API with stacks 2021-04-14 03:59:28 +00:00
errors.go rbd: correct the code comment for ErrFlattenInProgress 2020-10-20 08:59:25 +00:00
identityserver.go cleanup: address godot warnings 2020-07-21 08:36:24 +00:00
mirror.go rbd: check for peer site status 2021-04-05 08:53:40 +00:00
nodeserver_test.go cleanup: Remove support for Delete and Unmounting v1.1.0 PVC 2020-07-10 16:07:13 +00:00
nodeserver.go rbd: add support for block-devices in NodeGetVolumeStats() 2021-05-25 06:41:04 +00:00
rbd_attach.go util: introduce VolumeEncryption type 2021-03-12 10:11:47 +00:00
rbd_journal.go cleanup: move copyEncryptionConfig() from CreateVolume to Exists() 2021-04-14 03:59:28 +00:00
rbd_util_test.go rbd: add exclusive-lock and journaling image features for rbd image 2021-03-24 09:48:04 +00:00
rbd_util.go rbd: fix image details logging 2021-05-07 07:57:37 +00:00
replicationcontrollerserver.go rbd: mark image ready when image state is up+unknown 2021-05-05 13:38:29 +00:00
snapshot.go rbd: delete encryption key from KMS 2021-04-30 08:05:47 +00:00