]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
Merge pull request #39776 from alimaredia/wip-rgw-log-req-latency
authorMark Kogan <31659604+mkogan1@users.noreply.github.com>
Thu, 25 Mar 2021 16:16:39 +0000 (18:16 +0200)
committerGitHub <noreply@github.com>
Thu, 25 Mar 2021 16:16:39 +0000 (18:16 +0200)
rgw: add latency to the request summary of an op

1  2 
src/rgw/rgw_asio_frontend.cc
src/rgw/rgw_civetweb_frontend.cc
src/rgw/rgw_loadgen_process.cc
src/rgw/rgw_process.cc
src/rgw/rgw_process.h

Simple merge
index e6ddcad793ba8e00f72da61923046ef6a198d29f,6c672db49b6b5b5840816456b28befe3d40c5dfe..e03dc496ceb2bcda4f7c13d1fcab0dc6a7fe047d
@@@ -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,
Simple merge
Simple merge
Simple merge