Project

General

Profile

Actions

Bug #48317

closed

Client requests aren't scheduled

Added by Yongseok Oh over 3 years ago. Updated almost 3 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Target version:
-
% Done:

0%

Source:
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Crash signature (v1):
Crash signature (v2):

Description

The issue that clients aren't scheduled happens after PushPriorityQueue::schedule_request() is processed in PushPriorityQueue::run_sched_ahead(). This is also reproduced with the following scenario.

- Set reservation=1, weight=1, limit=1 (e.g., relatively low value is a conditon that triggers PushPriorityQueue::run_sched_ahead().)
- Enqueue three client requests through PushPriorityQueue::add_request().
- The first request is enqueued and then scheduled right after PushPriorityQueue::schedule_request() is processed.
- The second request is set to be scheduled after 1 second and the third request is enqueued and waits to be scheduled after the second request.
- After 1 second, the second request is serviced by PushPriorityQueue::run_sched_ahead() and the sched_ahead_when is set to TimeZero.
- The problem is that even though requests are waiting at this point, they are not scheduled until PushPriorityQueue::add_request() or PushPriorityQueue::request_completed() is called.


Related issues 1 (0 open1 closed)

Has duplicate dmclock - Bug #48123: server: the run_sched_ahead() funcion doesn't wake upDuplicate

Actions
Actions #1

Updated by Kefu Chai almost 3 years ago

  • Status changed from New to Resolved
  • Assignee set to Yongseok Oh
Actions #2

Updated by Kefu Chai almost 3 years ago

  • Has duplicate Bug #48123: server: the run_sched_ahead() funcion doesn't wake up added
Actions

Also available in: Atom PDF