ceph-csi/internal/util
Madhu Rajanna 8d3a44d0c4 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>
2020-11-18 05:59:20 +00:00
..
cephcmds.go util: use ErrorLog for context based logging 2020-08-13 09:44:12 +00:00
cephconf.go cleanup: address godot warnings 2020-07-21 08:36:24 +00:00
conn_pool_test.go cleanup: address godot warnings 2020-07-21 08:36:24 +00:00
conn_pool.go cleanup: address gosec warnings 2020-07-21 08:36:24 +00:00
connection.go util: add ClusterConnection.GetFSAdmin() 2020-10-14 15:16:56 +00:00
credentials.go util: NewCredentials() dont have any callers 2020-10-21 21:04:11 +00:00
crypto.go util: use ErrorLog for context based logging 2020-08-13 09:44:12 +00:00
cryptsetup.go rbd: make sure csi rbd pv encryption defaulting to luks2 version 2020-10-13 05:11:25 +00:00
csiconfig_test.go cleanup: address gosec warnings 2020-07-21 08:36:24 +00:00
csiconfig.go doc: Add rados namespace to option to csi-configs 2020-08-12 16:22:58 +05:30
errors_test.go util: add tests for JoinErrors() 2020-07-23 11:16:40 +00:00
errors.go util: simplify error handling 2020-07-23 11:16:40 +00:00
httpserver.go util: rename FatalLog to FatalLogMsg for parity 2020-08-13 09:44:12 +00:00
idlocker_test.go journal: Add additional operation based locking 2020-07-21 13:25:19 +00:00
idlocker.go util: rename ErrorLog to ErrorLogMsg to parity 2020-08-13 09:44:12 +00:00
k8s.go util: rename FatalLog to FatalLogMsg for parity 2020-08-13 09:44:12 +00:00
log.go util: rename FatalLog to FatalLogMsg for parity 2020-08-13 09:44:12 +00:00
pidlimit_test.go cleanup: address godot warnings 2020-07-21 08:36:24 +00:00
pidlimit.go cleanup: address godot warnings 2020-07-21 08:36:24 +00:00
stripsecrets.go cleanup: move pkg/ to internal/ 2020-04-23 11:00:59 +00:00
topology_test.go cleanup: address godot warnings 2020-07-21 08:36:24 +00:00
topology.go util: use local DefaultLog() for util/topology instead of klog 2020-08-11 08:11:37 +00:00
util_test.go util: update unit testing for deep flatten 2020-07-08 05:48:42 +00:00
util.go rbd: add minsnapshotsonimage flag 2020-11-18 05:59:20 +00:00
validate.go rbd: use different variable instead of builtin cap function 2020-10-21 12:30:18 +00:00
vault.go cleanup: address gomnd warnings 2020-07-21 08:36:24 +00:00
volid_test.go cleanup: address godot warnings 2020-07-21 08:36:24 +00:00
volid.go cleanup: address gomnd warnings 2020-07-21 08:36:24 +00:00