mirror of
https://github.com/ceph/ceph
synced 2024-12-28 14:34:13 +00:00
Merge pull request #20270 from ivancich/wip-fix-bad-dmclock-sim-change
osd,dmclock: fix dmclock test simulator change Reviewed-by: Kefu Chai <kchai@redhat.com>
This commit is contained in:
commit
164ed9399e
@ -104,10 +104,11 @@ namespace crimson {
|
||||
void add_request(R&& request,
|
||||
const C& client_id,
|
||||
const ReqParams& req_params) {
|
||||
add_request(std::move(request), client_id, req_params);
|
||||
add_request(RequestRef(new R(std::move(request))),
|
||||
client_id, req_params);
|
||||
}
|
||||
|
||||
void add_request(R&& request,
|
||||
void add_request(RequestRef&& request,
|
||||
const C& client_id,
|
||||
const ReqParams& req_params) {
|
||||
DataGuard g(queue_mtx);
|
||||
|
Loading…
Reference in New Issue
Block a user