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