ceph-csi/internal/rbd
Niels de Vos 3802dd2c2c rbd: add feature check to see if GroupSnapGetInfo is available
The go-ceph rbd package provides the GroupSnapGetInfo function, but it
may return ErrUnsupported when called. Returning this error after
advertising the support for VolumeGroupSnapshot seems ugly.

In order to advertise support for VolumeGroupSnapshot,
SupportsGroupSnapGetInfo() can be used, which detects the required C
function of librbd.

Signed-off-by: Niels de Vos <ndevos@ibm.com>
2024-10-10 15:45:47 +00:00
..
driver util: added logs for slow gRPC calls 2024-09-20 08:55:17 +00:00
features rbd: add feature check to see if GroupSnapGetInfo is available 2024-10-10 15:45:47 +00:00
group rbd: use the new go-ceph rbd.ErrExist for checking rbd.GroupCreate() 2024-10-04 09:00:23 +00:00
types rbd: replace Manager.DeleteVolumeGroup() by VolumeGroup.Delete() 2024-09-26 13:59:21 +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: validate IOContext before getting the list of trashed images 2024-10-04 11:04:22 +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: use ioctx locks for key rotation 2024-07-30 14:51:49 +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: replace Manager.DeleteVolumeGroup() by VolumeGroup.Delete() 2024-09-26 13:59:21 +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: set volume condition for block 2024-09-02 12:08:03 +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: move repairImageID() from rbdVolume struct to rbdImage 2024-09-26 18:02:22 +00:00
rbd_util_test.go rbd: consider ErrPermissionDenied for vol 2024-10-03 08:40:07 +00:00
rbd_util.go rbd: validate IOContext before getting the list of trashed images 2024-10-04 11:04:22 +00:00
replication.go rbd: fail DisableVolumeReplication() if image is not mirror disabled 2024-09-11 16:22:29 +00:00
snapshot.go rbd: add image size in toSnapshot 2024-08-21 20:14:51 +00:00