]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/librbd/deep_copy/SnapshotCreateRequest.cc
update source to Ceph Pacific 16.2.2
[ceph.git] / ceph / src / librbd / deep_copy / SnapshotCreateRequest.cc
index 23ebb1c666d9e665f1a6d20ba3a6d5f1400b7b07..d437bd3552fd890005b5d518ce6e07059354dcfd 100644 (file)
@@ -80,11 +80,11 @@ void SnapshotCreateRequest<I>::send_create_snap() {
       handle_create_snap(r);
       finish_op_ctx->complete(0);
     });
+  uint64_t flags = SNAP_CREATE_FLAG_SKIP_OBJECT_MAP |
+                   SNAP_CREATE_FLAG_SKIP_NOTIFY_QUIESCE;
   std::shared_lock owner_locker{m_dst_image_ctx->owner_lock};
-  m_dst_image_ctx->operations->execute_snap_create(m_snap_namespace,
-                                                   m_snap_name.c_str(),
-                                                   ctx,
-                                                   0U, true);
+  m_dst_image_ctx->operations->execute_snap_create(
+      m_snap_namespace, m_snap_name.c_str(), ctx, 0U, flags, m_prog_ctx);
 }
 
 template <typename I>