Project

General

Profile

Actions

Bug #3774

closed

osd: 'ceph osd scrub' and 'ceph pg scrub' are poorly scheduled

Added by Sage Weil over 11 years ago. Updated over 11 years ago.

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

0%

Source:
Development
Tags:
Backport:
Regression:
Severity:
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

These should get put at the top of the scrub queue in a way that still honors all the scheduling.

The problem is that they are immediately dumped into the work queue, and bypass the scrub reservation across OSDs, making them high-impact on a running cluster.

Currently we scheduled scrub off the last_scrub list, ordered by the last_scrub timestamp. One solution is to queue the PG based on either that, or time 0 if the pg is marked for immediate scrub.

Actions

Also available in: Atom PDF