]>
Commit | Line | Data |
---|---|---|
f67539c2 TL |
1 | // -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- |
2 | // vim: ts=8 sw=2 smarttab | |
7c673cae | 3 | |
11fdf7f2 | 4 | #include "include/rados/librados_fwd.hpp" |
7c673cae | 5 | #include "mds/mdstypes.h" |
7c673cae FG |
6 | #include "cls_cephfs.h" |
7 | ||
8 | class AccumulateArgs; | |
9 | ||
10 | class 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, | |
20effc67 | 25 | std::string *symlink, |
7c673cae FG |
26 | AccumulateResult *result); |
27 | ||
28 | static int delete_inode_accumulate_result( | |
29 | librados::IoCtx &ctx, | |
30 | const std::string &oid); | |
31 | ||
32 | static void build_tag_filter( | |
33 | const std::string &scrub_tag, | |
f67539c2 | 34 | ceph::buffer::list *out_bl); |
7c673cae | 35 | }; |