]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
librbd: only use snapshot namespace type in unique key sort
authorJason Dillaman <dillaman@redhat.com>
Fri, 7 Feb 2020 18:30:00 +0000 (13:30 -0500)
committerJason Dillaman <dillaman@redhat.com>
Wed, 19 Feb 2020 15:36:40 +0000 (10:36 -0500)
commitecf71d301f339169321ae442c921da220d9a4dd9
tree1fe64755889e42600818d0be26841993ab6f3a64
parent77d8af350d36b84dabe089cc0e58cd6179badd1f
librbd: only use snapshot namespace type in unique key sort

Don't use the internal snapshot namespace comparator since for
the mirror snapshot the data can change. The important fact is
that snapshot names should be unique within the namespace type.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
src/librbd/ImageCtx.h
src/test/librbd/mock/MockImageCtx.h