]>
git.proxmox.com Git - ceph.git/blob - 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
9 #include "common/dout.h"
15 namespace rgw
{ namespace sal
{
19 // DataLogTrimCR factory function
20 extern RGWCoroutine
* create_data_log_trim_cr(const DoutPrefixProvider
*dpp
, rgw::sal::RadosStore
* store
,
22 int num_shards
, utime_t interval
);
24 // factory function for datalog trim via radosgw-admin
25 RGWCoroutine
* create_admin_data_log_trim_cr(const DoutPrefixProvider
*dpp
, rgw::sal::RadosStore
* store
,
28 std::vector
<std::string
>& markers
);