mirror of
https://github.com/ceph/ceph
synced 2025-01-20 10:01:45 +00:00
Merge pull request #26022 from theanalyst/common-mclock-prio
common, osd: set mclock priority as 1 by default. Reviewed-by: J. Eric Ivancich <ivancich@redhat.com>
This commit is contained in:
commit
cc26a67890
@ -293,11 +293,11 @@ namespace ceph {
|
||||
}
|
||||
|
||||
void enqueue_strict(K cl, unsigned priority, T&& item) override final {
|
||||
high_queue[priority].enqueue(cl, 0, std::move(item));
|
||||
high_queue[priority].enqueue(cl, 1, std::move(item));
|
||||
}
|
||||
|
||||
void enqueue_strict_front(K cl, unsigned priority, T&& item) override final {
|
||||
high_queue[priority].enqueue_front(cl, 0, std::move(item));
|
||||
high_queue[priority].enqueue_front(cl, 1, std::move(item));
|
||||
}
|
||||
|
||||
void enqueue(K cl, unsigned priority, unsigned cost, T&& item) override final {
|
||||
|
@ -105,7 +105,7 @@ namespace ceph {
|
||||
Request&& item) override final {
|
||||
queue.enqueue_front(client_info_mgr.osd_op_type(item),
|
||||
priority,
|
||||
0u,
|
||||
1u,
|
||||
std::move(item));
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user