X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=blobdiff_plain;f=src%2Fceph%2Fsrc%2Flibrados%2Fsnap_set_diff.h;fp=src%2Fceph%2Fsrc%2Flibrados%2Fsnap_set_diff.h;h=aba03ee317ec4ab76a31390b7bbfc70f0fd8bd10;hb=812ff6ca9fcd3e629e49d4328905f33eee8ca3f5;hp=0000000000000000000000000000000000000000;hpb=15280273faafb77777eab341909a3f495cf248d9;p=stor4nfv.git diff --git a/src/ceph/src/librados/snap_set_diff.h b/src/ceph/src/librados/snap_set_diff.h new file mode 100644 index 0000000..aba03ee --- /dev/null +++ b/src/ceph/src/librados/snap_set_diff.h @@ -0,0 +1,17 @@ +// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- +// vim: ts=8 sw=2 smarttab + +#ifndef __CEPH_OSDC_SNAP_SET_DIFF_H +#define __CEPH_OSDC_SNAP_SET_DIFF_H + +class CephContext; +#include "include/rados/rados_types.hpp" +#include "include/interval_set.h" + +void calc_snap_set_diff(CephContext *cct, + const librados::snap_set_t& snap_set, + librados::snap_t start, librados::snap_t end, + interval_set *diff, uint64_t *end_size, + bool *end_exists, librados::snap_t *clone_end_snap_id); + +#endif