Project

General

Profile

Actions

Feature #567

closed

osd: background scrub frequency, scheduling

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

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

0%

Spent time:
Source:
Tags:
Backport:
Reviewed:
Affected Versions:
Pull request ID:

Description

We should have some min interval such that the osds won't scrub the same osd more frequently than that.

Also, the scrub should try to scrub least-recently-scrubbed pgs first. Maybe keep pgs in a map<utime_t,pg_t> sorted by last scrub time?

Actions

Also available in: Atom PDF