Project

General

Profile

Feature #567

osd: background scrub frequency, scheduling

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

Status:
Resolved
Priority:
Normal
Assignee:
Category:
OSD
Target version:
Start date:
11/09/2010
Due date:
% 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?

History

#1 Updated by Sage Weil over 8 years ago

  • Target version changed from v0.23 to v0.24

#2 Updated by Sage Weil over 8 years ago

  • Status changed from New to Resolved
  • Assignee set to Sage Weil

fixed up some scheduling problems, then added the interval and oldest-scrubs-first stuff.

Also available in: Atom PDF