Project

General

Profile

Actions

Feature #10498

open

ObjectCacher: order wakeups when write calls block on throttling

Added by Greg Farnum over 9 years ago. Updated almost 8 years ago.

Status:
New
Priority:
High
Assignee:
-
Category:
Correctness/Safety
Target version:
-
% Done:

0%

Source:
Q/A
Tags:
Backport:
Reviewed:
Affected Versions:
Component(FS):
osdc
Labels (FS):
Pull request ID:

Description

The ObjectCacher can block write calls if the dirty data limits are exceeded by sleeping on a cond. Unfortunately, we have seen cases where a single write call blocks for hours while others continue to go through.

Josh thinks the way to fix this is by introducing ordered wakeups when we hit this case, which makes sense to me. Strict ordering isn't great but should be sufficient.

Previously:
http://qa-proxy.ceph.com/teuthology/teuthology-2015-01-04_23:04:01-fs-next-testing-basic-multi/686605/

There's nothing apparent there, it starts up and does some writes and then the client log ends, and eventually teuthology times out the run. I'm not sure if this is a real bug or some kind of unrelated hangup, but I'm archiving it for posterity.

Actions

Also available in: Atom PDF