]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
cls/rbd: save group snapshot creation order in a new key
authorMykola Golub <mgolub@suse.com>
Thu, 15 Jul 2021 15:27:29 +0000 (16:27 +0100)
committerN Balachandran <nibalach@redhat.com>
Mon, 5 Aug 2024 13:30:41 +0000 (19:00 +0530)
commitec6224db3e55f1b7fc0b09f160431432f7c81342
tree80856d7f6c7cf940cdb7c62a9ceba2b04ada8bdc
parentd3dd910f13eaad8311729871abc29bcaeb12bae4
cls/rbd: save group snapshot creation order in a new key

In order to be able to list group snapshots in creation order, a
new snapshot order key is stored on snapshot creation.

[nbalacha: removed the group_snap_unsorted function,
reverted the group_snap_list function changes]

Signed-off-by: Mykola Golub <mgolub@suse.com>
Signed-off-by: N Balachandran <nibalach@redhat.com>
src/cls/rbd/cls_rbd.cc
src/test/cls_rbd/test_cls_rbd.cc