mirror of
https://github.com/ceph/ceph-csi.git
synced 2025-06-14 02:43:36 +00:00
rbd: add layering & deep flattenfeatures for groupsnapshot image
Signed-off-by: Rakshith R <rar@redhat.com>
This commit is contained in:
@ -276,6 +276,10 @@ func (rv *rbdVolume) NewSnapshotByID(
|
||||
return nil, err
|
||||
}
|
||||
|
||||
// set the features for the clone image.
|
||||
f := []string{librbd.FeatureNameLayering, librbd.FeatureNameDeepFlatten}
|
||||
rv.ImageFeatureSet = librbd.FeatureSetFromNames(f)
|
||||
|
||||
options, err := rv.constructImageOptions(ctx)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
|
Reference in New Issue
Block a user