ceph-csi/internal/rbd
Rakshith R d166229d8f rbd: add support for flattenMode option for replication
This commit adds support for flattenMode option
for replication.
If the flattenMode is set to "force" in
volumereplicationclass parameters, cephcsi will
add a task to flatten the image if it has parent.
This enable cephcsi to then mirror such images after
flattening them.
The error message when the image's parent is
in trash or unmirrored is improved as well.

Signed-off-by: Rakshith R <rar@redhat.com>
2024-06-20 14:51:36 +00:00
..
driver rbd: address golangci-lint issues 2024-04-09 06:55:23 +00:00
clone.go cleanup: destroy connections after .Copy() an other one 2024-04-02 11:11:20 +00:00
controllerserver_test.go build: address 'copyloopvar' linter warning 2024-04-29 14:36:48 +00:00
controllerserver.go rbd: add support for flattenMode option for replication 2024-06-20 14:51:36 +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: address golangci-lint issues 2024-04-09 06:55:23 +00:00
errors.go rbd: use internal as default error code in getGRPCError() 2024-06-11 15:17:53 +00:00
globals.go cleanup: do not pass EncodingVersion to GenerateVolID() 2024-03-18 06:23:28 +00:00
identityserver.go ci: fix all linter errors found in golangci-lint 2022-06-03 12:55:54 +00:00
migration_test.go build: address 'copyloopvar' linter warning 2024-04-29 14:36:48 +00:00
migration.go rbd: remove redundant util.Credentials arg from flattenRbdImage() 2022-01-06 12:28:18 +00:00
mirror.go rbd: add support for flattenMode option for replication 2024-06-20 14:51:36 +00:00
nodeserver_test.go ci: Use temporary directory for unit tests 2024-05-27 05:57:27 +00:00
nodeserver.go rbd: address golangci-lint issues 2024-04-09 06:55:23 +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 rbd: address golangci-lint issues 2024-04-09 06:55:23 +00:00
rbd_util_test.go build: address 'intrange' linter warning 2024-04-29 14:36:48 +00:00
rbd_util.go rbd: add support for flattenMode option for replication 2024-06-20 14:51:36 +00:00
replication.go rbd: use internal as default error code in getGRPCError() 2024-06-11 15:17:53 +00:00
snapshot.go cleanup: reformat generateVolFromSnap() to rbdSnapshot.toVolume() 2024-03-28 11:54:28 +00:00