ceph-csi/internal/rbd
Niels de Vos bbd24e52f3 cleanup: use rbdImage.Destroy() for temporary volumes
rbdVolumes can have several resources that get allocated during its
usage. Only destroying the IOContext may not be suffiecient and can
cause resource leaks.

Use rbdVolume.Destroy() when the rbdVolume is not used anymore.

Signed-off-by: Niels de Vos <ndevos@redhat.com>
2021-03-17 07:50:09 +00:00
..
clone.go util: use ClusterConnection.Copy() for re-using connections 2021-03-17 07:50:09 +00:00
controllerserver.go rbd: implement volume replication spec 2021-03-16 13:06:44 +00:00
driver.go util: register replication controller 2021-03-16 13:06:44 +00:00
encryption.go rbd: introduce rbdImage as base for rbdVolume and rbdSnapshot 2021-03-15 08:10:51 +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: implement mirroring helpers with go-ceph 2021-03-16 13:06:44 +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 util: introduce VolumeEncryption type 2021-03-12 10:11:47 +00:00
rbd_attach.go util: introduce VolumeEncryption type 2021-03-12 10:11:47 +00:00
rbd_journal.go rbd: introduce rbdImage as base for rbdVolume and rbdSnapshot 2021-03-15 08:10:51 +00:00
rbd_util_test.go cleanup: Remove support for Delete and Unmounting v1.1.0 PVC 2020-07-10 16:07:13 +00:00
rbd_util.go cleanup: use rbdImage.Destroy() for temporary volumes 2021-03-17 07:50:09 +00:00
replicationcontrollerserver.go rbd: implement volume replication spec 2021-03-16 13:06:44 +00:00
snapshot.go cleanup: rename rbdSnapshot.SnapID to VolID 2021-03-15 08:10:51 +00:00