summaryrefslogtreecommitdiffstats
path: root/src/rgw/rgw_worker.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* rgw: remove dout_subsys defs from header filesJ. Eric Ivancich2022-08-301-5/+1
| | | | | | | | | | | | | | Each compilation unit should be able to define its own dout_subsys without generating a redefinition warning. When dout_subsys is defined in header files, it complicates this matter. This commit removes definitions and header files and makes sure definitions are added to .cc files as needed. Additionally, at Adam Emerson's suggestion, use "static constexpr" rather than "#define" to set "dout_subsys" in a few places as a reminder to ultimately do it more broadly. Signed-off-by: J. Eric Ivancich <ivancich@redhat.com>
* rgw: build without "using namespace std"Kefu Chai2021-08-131-2/+2
| | | | | | | | | | * add "std::" prefix in headers * add "using" declarations in .cc files. so we don't rely on "using namespace std" in one or more included headers. Signed-off-by: Kefu Chai <kchai@redhat.com>
* rgw: add DPP's to logging for most opsAli Maredia2021-05-041-3/+10
| | | | | | | | | | | | | | | | | | | | | | | | This commit contains the following major changes: - Most log output lines for major ops now have DoutPrefixProviders. - Create new macro ldpp_subdout. This macro is meant as a replacement for lsubdout for headerfiles that do not define the rgw subsys. - Changes to RGWObjManifest begin and end iterators. - Make it so that rgw_dencoder.cc should only contain the logic related to encoding. Also add dpp to ldouts and lderr's already using req_state and replace sync_env/env->dpp's with dpp's Signed-off-by: Ali Maredia <amaredia@redhat.com> Signed-off-by: Kalpesh Pandya <kapandya@redhat.com> Signed-off-by: Casey Bodley <cbodley@redhat.com>
* crimson:common add TOPNSPC namespace for ceph and crimsonChunmei Liu2020-02-281-1/+1
| | | | | | | | | | some code coexist in crimson seastar environment and posix environment, so add namespace to avoid same function conflict, for example add namespace for CephContext, since the new namespace for classic ceph-osd, need modify all files declare use CephContext by including "common_fwd.h" which defined the namespace for each environment. Signed-off-by: Chunmei Liu <chunmei.liu@intel.com>
* RGW - Make sure editor settings are correct for all filesDaniel Gryniewicz2019-08-191-1/+1
| | | | Signed-off-by: Daniel Gryniewicz <dang@redhat.com>
* Merge branch 'wip-rgw-metadata-servicification'Casey Bodley2019-08-131-14/+13
| | | | | | | | | | | | | | | | | | | | | Conflicts: src/rgw/rgw_auth.cc src/rgw/rgw_auth_registry.h src/rgw/rgw_auth_s3.h src/rgw/rgw_bucket.cc src/rgw/rgw_bucket.h src/rgw/rgw_data_sync.h src/rgw/rgw_frontend.h src/rgw/rgw_log.h src/rgw/rgw_main.cc src/rgw/rgw_rados.cc src/rgw/rgw_rados.h src/rgw/rgw_rest_s3.h src/rgw/rgw_rest_sts.h src/rgw/rgw_swift_auth.h src/rgw/rgw_user.cc src/rgw/rgw_user.h src/rgw/services/svc_sys_obj_core.h
* rgw: header cleanup: remove code from rgw_rados.hYehuda Sadeh2019-07-291-0/+89
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>