]> git.proxmox.com Git - ceph.git/blame - ceph/src/rgw/rgw_trim_datalog.h
import ceph 15.2.10
[ceph.git] / ceph / src / rgw / rgw_trim_datalog.h
CommitLineData
9f95a23c
TL
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
6class RGWCoroutine;
7class RGWRados;
8class RGWHTTPManager;
9class utime_t;
10namespace rgw { namespace sal {
11 class RGWRadosStore;
12} }
13
14// DataLogTrimCR factory function
15extern 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
20RGWCoroutine* create_admin_data_log_trim_cr(rgw::sal::RGWRadosStore *store,
21 RGWHTTPManager *http,
22 int num_shards,
23 std::vector<std::string>& markers);