mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-12-26 06:50:23 +00:00
12c9a8c2e0
Currently, CephCSI only uses listSnaps to determine
number of snapshots on a RBD image and uses snapshot
names as child image names to flatten them.
But child images may have different name(in case of
group snapshot) or they maybe in trash
(deleted k8s VolSnapshot with alive restored PVC).
The above problems are avoid by making use of both
snap and child image lists.
Signed-off-by: Rakshith R <rar@redhat.com>
(cherry picked from commit
|
||
---|---|---|
.. | ||
cephfs | ||
controller | ||
csi-addons | ||
csi-common | ||
health-checker | ||
journal | ||
kms | ||
liveness | ||
nfs | ||
rbd | ||
util |