]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/rgw/rgw_loadgen_process.cc
import 15.2.0 Octopus source
[ceph.git] / ceph / src / rgw / rgw_loadgen_process.cc
index 677599f03fec6a9a24ea0f20efcd347ce3b8277b..6bc9ccd477691ad127055fdb50cea19e4e535f19 100644 (file)
@@ -1,5 +1,5 @@
 // -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*-
-// vim: ts=8 sw=2 smarttab
+// vim: ts=8 sw=2 smarttab ft=cpp
 
 #include "common/errno.h"
 #include "common/Throttle.h"
@@ -107,7 +107,7 @@ void RGWLoadGenProcess::gen_request(const string& method,
                                    int content_length, std::atomic<bool>* fail_flag)
 {
   RGWLoadGenRequest* req =
-    new RGWLoadGenRequest(store->get_new_req_id(), method, resource,
+    new RGWLoadGenRequest(store->getRados()->get_new_req_id(), method, resource,
                          content_length, fail_flag);
   dout(10) << "allocated request req=" << hex << req << dec << dendl;
   req_throttle.get(1);