ceph-csi/internal/rbd
Madhu Rajanna 4be9c0159f rbd: add minsnapshotsonimage flag
An rbd image can have a maximum number of
snapshots defined by maxsnapshotsonimage
On the limit is reached the cephcsi will
start flattening the older snapshots and
returns the ABORT error message, The Request
comes after this as to wait till all the
images are flattened (this will increase the
PVC creation time.  Instead of waiting till
the maximum snapshots on an RBD image, we can
have a soft limit, once the limit reached
cephcsi will start flattening the task to
break the chain. With this PVC  creation time
will only be affected when the hard limit
(minsnapshotsonimage) reached.

Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
(cherry picked from commit 8d3a44d0c4)
2020-11-18 20:11:43 +05:30
..
clone.go rbd: fix problem with deletion of a namespaced image 2020-09-25 17:05:19 +00:00
controllerserver.go rbd: add minsnapshotsonimage flag 2020-11-18 20:11:43 +05:30
driver.go rbd: add minsnapshotsonimage flag 2020-11-18 20:11:43 +05:30
errors.go rbd: Add rados namespace support for rbd 2020-08-12 16:22:58 +05:30
identityserver.go cleanup: address godot warnings 2020-07-21 08:36:24 +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: NodeExpandVolume() should use StagingTargetPath 2020-08-25 17:20:08 +00:00
rbd_attach.go rbd: replace klog with util logger in rbd_attach.go 2020-08-19 15:35:13 +00:00
rbd_journal.go rbd: replace klog with util logger in rbd_journal.go 2020-08-19 15:35:13 +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 rbd: implement rbd.updateVolWithImageInfo() with go-ceph 2020-08-25 08:13:52 +00:00
snapshot.go rbd: replace klog with util logger in snapshot.go 2020-08-19 15:35:13 +00:00