]> git.proxmox.com Git - ceph.git/blame - ceph/src/cls/cephfs/cls_cephfs_client.h
update sources to v12.1.0
[ceph.git] / ceph / src / cls / cephfs / cls_cephfs_client.h
CommitLineData
7c673cae 1
7c673cae 2#include "mds/mdstypes.h"
7c673cae
FG
3#include "cls_cephfs.h"
4
5class AccumulateArgs;
31f18b77
FG
6namespace librados {
7 class IoCtx;
8}
7c673cae
FG
9
10class ClsCephFSClient
11{
12 public:
13 static int accumulate_inode_metadata(
14 librados::IoCtx &ctx,
15 inodeno_t inode_no,
16 const uint64_t obj_index,
17 const uint64_t obj_size,
18 const time_t mtime);
19
20 static int fetch_inode_accumulate_result(
21 librados::IoCtx &ctx,
22 const std::string &oid,
23 inode_backtrace_t *backtrace,
24 file_layout_t *layout,
25 AccumulateResult *result);
26
27 static int delete_inode_accumulate_result(
28 librados::IoCtx &ctx,
29 const std::string &oid);
30
31 static void build_tag_filter(
32 const std::string &scrub_tag,
33 bufferlist *out_bl);
34};
35