mirror of
https://github.com/ceph/ceph
synced 2025-01-11 05:29:51 +00:00
Merge pull request #21428 from ivancich/wip-fix-existing-mclock-cost
osd: remove cost from mclock op queues; cost not handled well in dmclock Reviewed-by: Kefu Chai <kchai@redhat.com>
This commit is contained in:
commit
1e081a817d
@ -78,7 +78,7 @@ namespace ceph {
|
||||
unsigned priority,
|
||||
unsigned cost,
|
||||
Request&& item) {
|
||||
queue.enqueue(get_inner_client(cl, item), priority, cost, std::move(item));
|
||||
queue.enqueue(get_inner_client(cl, item), priority, 0u, std::move(item));
|
||||
}
|
||||
|
||||
// Enqueue the op in the front of the regular queue
|
||||
@ -86,7 +86,7 @@ namespace ceph {
|
||||
unsigned priority,
|
||||
unsigned cost,
|
||||
Request&& item) {
|
||||
queue.enqueue_front(get_inner_client(cl, item), priority, cost,
|
||||
queue.enqueue_front(get_inner_client(cl, item), priority, 0u,
|
||||
std::move(item));
|
||||
}
|
||||
|
||||
|
@ -94,7 +94,7 @@ namespace ceph {
|
||||
Request&& item) override final {
|
||||
queue.enqueue(client_info_mgr.osd_op_type(item),
|
||||
priority,
|
||||
cost,
|
||||
0u,
|
||||
std::move(item));
|
||||
}
|
||||
|
||||
@ -105,7 +105,7 @@ namespace ceph {
|
||||
Request&& item) override final {
|
||||
queue.enqueue_front(client_info_mgr.osd_op_type(item),
|
||||
priority,
|
||||
cost,
|
||||
0u,
|
||||
std::move(item));
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user