]>
git.proxmox.com Git - ceph.git/blob - ceph/src/librbd/deep_copy/Utils.h
1 // -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*-
2 // vim: ts=8 sw=2 smarttab
4 #ifndef CEPH_LIBRBD_DEEP_COPY_UTILS_H
5 #define CEPH_LIBRBD_DEEP_COPY_UTILS_H
7 #include "include/common_fwd.h"
8 #include "include/rados/librados.hpp"
9 #include "librbd/Types.h"
10 #include "librbd/deep_copy/Types.h"
12 #include <boost/optional.hpp>
18 void compute_snap_map(CephContext
* cct
,
19 librados::snap_t src_snap_id_start
,
20 librados::snap_t src_snap_id_end
,
21 const SnapIds
& dst_snap_ids
,
22 const SnapSeqs
&snap_seqs
,
26 } // namespace deep_copy
29 #endif // CEPH_LIBRBD_DEEP_COPY_UTILS_H