librbd: no longer re-create full mirror snapshot namespace to get id
authorJason Dillaman <dillaman@redhat.com>
Fri, 7 Feb 2020 19:54:52 +0000 (14:54 -0500)
committerJason Dillaman <dillaman@redhat.com>
Wed, 19 Feb 2020 15:36:40 +0000 (10:36 -0500)
commit55322c49bd7ce51454aaa12a550c09041292e442
tree36c8b2e1b088b7a7527e9edb09d7c4a63c424b78
parentecf71d301f339169321ae442c921da220d9a4dd9
librbd: no longer re-create full mirror snapshot namespace to get id

Only the namespace type is required to locate the snap id by name.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
src/librbd/mirror/snapshot/CreateNonPrimaryRequest.cc
src/librbd/mirror/snapshot/CreatePrimaryRequest.cc