cls_cxx_gather is not maintained and having issues with retry.
since there is no current use of it, we will deprecate it.
Fixes: https://tracker.ceph.com/issues/64258
Signed-off-by: Nitzan Mordechai <nmordech@redhat.com>
(cherry picked from commit
6cddadffcd2f482930b5fae19ca12c37be458df3)
on root inode, which then will restore layout to default layout.
* cls_cxx_gather is marked as deprecated.
+
* CephFS: cephfs-journal-tool is guarded against running on an online file system.
The 'cephfs-journal-tool --rank <fs_name>:<mds_rank> journal reset' and
'cephfs-journal-tool --rank <fs_name>:<mds_rank> journal reset --force'
in the kclient.
* S3 Get/HeadObject now support query parameter `partNumber` to read a specific
part of a completed multipart upload.
+* cls_cxx_gather is marked as deprecated.
>=18.0.0
return 4096;
}
-int cls_cxx_gather(cls_method_context_t hctx, const std::set<std::string> &src_objs, const std::string& pool,
- const char *cls, const char *method, bufferlist& inbl)
-{
- return 0;
-}
-
-int cls_cxx_get_gathered_data(cls_method_context_t hctx, std::map<std::string, bufferlist> *results)
-{
- return 0;
-}
-
// although at first glance the implementation looks the same as in
// the classical OSD, it's different b/c of how the dout macro expands.
int cls_log(int level, const char *format, ...)
/* gather */
extern int cls_cxx_gather(cls_method_context_t hctx, const std::set<std::string> &src_objs, const std::string& pool,
- const char *cls, const char *method, bufferlist& inbl);
+ const char *cls, const char *method, bufferlist& inbl) __attribute__ ((deprecated));
extern int cls_cxx_get_gathered_data(cls_method_context_t hctx, std::map<std::string, bufferlist> *results);