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 #1

Updated by John Spray over 9 years ago

  • Status changed from In Progress to 7

Testing on wip-jcsp-test

Actions #2

Updated by John Spray over 9 years ago

  • Status changed from 7 to Fix Under Review
Actions #3

Updated by John Spray over 9 years ago

  • Status changed from Fix Under Review to Resolved
commit 8657022cc8a664462b57f2d5156970a12c71729c
Merge: d0e0eb4 c8d2388
Author: John Spray <john.spray@inktank.com>
Date:   Tue Sep 2 22:02:59 2014 +0100

    Merge pull request #2343 from ceph/wip-9151

    Wip 9151 + 9152

    Reviewed-by: Sage Weil <sage@redhat.com>
Actions

Also available in: Atom PDF