From: Mark Kogan <31659604+mkogan1@users.noreply.github.com> Date: Thu, 25 Mar 2021 16:16:39 +0000 (+0200) Subject: Merge pull request #39776 from alimaredia/wip-rgw-log-req-latency X-Git-Tag: v17.1.0~2481 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=0772593632665582f72776299ec033e7a5a3b4cd;p=ceph.git Merge pull request #39776 from alimaredia/wip-rgw-log-req-latency rgw: add latency to the request summary of an op --- 0772593632665582f72776299ec033e7a5a3b4cd diff --cc src/rgw/rgw_civetweb_frontend.cc index e6ddcad793ba8,6c672db49b6b5..e03dc496ceb2b --- a/src/rgw/rgw_civetweb_frontend.cc +++ b/src/rgw/rgw_civetweb_frontend.cc @@@ -64,8 -64,9 +64,9 @@@ int RGWCivetWebFrontend::process(struc &cw_client)))); RGWRestfulIO client_io(dout_context, &real_client_io); - RGWRequest req(env.store->getRados()->get_new_req_id()); + RGWRequest req(env.store->get_new_req_id()); int http_ret = 0; + ceph::coarse_real_clock::duration latency{}; //assert (scheduler != nullptr); int ret = process_request(env.store, env.rest, &req, env.uri_prefix, *env.auth_registry, &client_io, env.olog,