]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
mgr/vol: allow opening subvol even when it is cancelled
authorRishabh Dave <ridave@redhat.com>
Tue, 15 Apr 2025 09:43:35 +0000 (15:13 +0530)
committerRishabh Dave <ridave@redhat.com>
Wed, 3 Dec 2025 07:51:56 +0000 (13:21 +0530)
Allow opening subvolume for listing it when it's in cancelled state.

Signed-off-by: Rishabh Dave <ridave@redhat.com>
src/pybind/mgr/volumes/fs/operations/versions/subvolume_v2.py

index b72a6ceb03bef1a05ae4de24482393b5eb06a59a..72bbe1a363c36cb63aae3c5ec338172eabfc99bc 100644 (file)
@@ -289,6 +289,7 @@ class SubvolumeV2(SubvolumeV1):
             }
 
         return {SubvolumeOpType.REMOVE_FORCE,
+                SubvolumeOpType.LIST,
                 SubvolumeOpType.CLONE_CREATE,
                 SubvolumeOpType.CLONE_STATUS,
                 SubvolumeOpType.CLONE_CANCEL,