]> git.proxmox.com Git - ceph.git/blob - ceph/src/rgw/driver/rados/rgw_trim_datalog.h
bump version to 18.2.2-pve1
[ceph.git] / ceph / src / rgw / driver / rados / rgw_trim_datalog.h
1 // -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*-
2 // vim: ts=8 sw=2 smarttab ft=cpp
3
4 #pragma once
5
6 #include <string>
7 #include <vector>
8
9 #include "common/dout.h"
10
11 class RGWCoroutine;
12 class RGWRados;
13 class RGWHTTPManager;
14 class utime_t;
15 namespace rgw { namespace sal {
16 class RadosStore;
17 } }
18
19 // DataLogTrimCR factory function
20 extern RGWCoroutine* create_data_log_trim_cr(const DoutPrefixProvider *dpp, rgw::sal::RadosStore* store,
21 RGWHTTPManager *http,
22 int num_shards, utime_t interval);
23
24 // factory function for datalog trim via radosgw-admin
25 RGWCoroutine* create_admin_data_log_trim_cr(const DoutPrefixProvider *dpp, rgw::sal::RadosStore* store,
26 RGWHTTPManager *http,
27 int num_shards,
28 std::vector<std::string>& markers);