]>
git.proxmox.com Git - ceph.git/blob - ceph/src/tools/rbd_mirror/image_sync/Utils.cc
1 // -*- mode:c++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*-
2 // vim: ts=8 sw=2 smarttab
13 static const std::string
SNAP_NAME_PREFIX(".rbd-mirror");
15 } // anonymous namespace
17 std::string
get_snapshot_name_prefix(const std::string
& local_mirror_uuid
) {
18 return SNAP_NAME_PREFIX
+ "." + local_mirror_uuid
+ ".";
22 } // namespace image_sync