Project

General

Profile

Actions

Bug #9252

closed

Worker thread to advance MDS in absence of messages

Added by John Spray over 9 years ago. Updated over 9 years ago.

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

0%

Source:
other
Tags:
Backport:
Regression:
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Component(FS):
Labels (FS):
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

As we move dispatchers outside of the MDS (first Objecter, now Beacon), there are some cases that don't progress promptly because they put contexts into finished_queue, and that queue is only serviced at the end of MDS::_dispatch. Currently in #9152 working around this by letting MDS handle MSG_BEACON (as a no-op) which acts as a periodic kick for the queues. This introduces spurious latency to some operations.

We need another thread that advances these queues in the background.

Actions

Also available in: Atom PDF