Fix some bugs when testing opensds ansible
[stor4nfv.git] / src / ceph / src / librados / snap_set_diff.h
1 // -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*-
2 // vim: ts=8 sw=2 smarttab
3
4 #ifndef __CEPH_OSDC_SNAP_SET_DIFF_H
5 #define __CEPH_OSDC_SNAP_SET_DIFF_H
6
7 class CephContext;
8 #include "include/rados/rados_types.hpp"
9 #include "include/interval_set.h"
10
11 void calc_snap_set_diff(CephContext *cct,
12                         const librados::snap_set_t& snap_set,
13                         librados::snap_t start, librados::snap_t end,
14                         interval_set<uint64_t> *diff, uint64_t *end_size,
15                         bool *end_exists, librados::snap_t *clone_end_snap_id);
16
17 #endif