]> git.proxmox.com Git - ceph.git/blob - ceph/src/rgw/rgw_trim_datalog.h
ffdd2b38450c9068c96280997f200f4b11b09b4d
[ceph.git] / ceph / src / rgw / 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 class RGWCoroutine;
10 class RGWRados;
11 class RGWHTTPManager;
12 class utime_t;
13 namespace rgw { namespace sal {
14 class RGWRadosStore;
15 } }
16
17 // DataLogTrimCR factory function
18 extern RGWCoroutine* create_data_log_trim_cr(rgw::sal::RGWRadosStore *store,
19 RGWHTTPManager *http,
20 int num_shards, utime_t interval);
21
22 // factory function for datalog trim via radosgw-admin
23 RGWCoroutine* create_admin_data_log_trim_cr(rgw::sal::RGWRadosStore *store,
24 RGWHTTPManager *http,
25 int num_shards,
26 std::vector<std::string>& markers);