Bug #47029
openrdb qos don't work
0%
Description
function code:
frist:
ImageRequestWQ<I>::needs_throttle
...
if (item->tokens_requested(flag, &tokens) &&
throttle->get<ImageRequestWQ<I>, ImageDispatchSpec<I>,
&ImageRequestWQ<I>::handle_throttle_ready>(
tokens, this, item, flag)) {
blocked = true;
} else {
item->set_throttled(flag);
}
...
iops TokenBucketThrottle riops TokenBucketThrottle and wiops TokenBucketThrottle are independenced,
iamge was blocked by wiops but not blocked iops.
although iops=500 wiops=400 riops=300
may be iops=700 or other,it was difficult to gauge...
Is it really designed like this?
second:
for (auto t : m_throttles) {
flag = t.first;
if (item->was_throttled(flag))
continue;
...
"item->was_throttled(flag)"
i guess, it judge image has a qos flag.is right?
Updated by Greg Farnum almost 3 years ago
- Project changed from Ceph to rbd
- Category deleted (
librbd)