Actions
Documentation #39011
closedDocument how get_recovery_priority() and get_backfill_priority() impacts recovery order
Status:
Resolved
Priority:
Normal
Assignee:
David Zafman
Category:
-
Target version:
-
% Done:
0%
Tags:
Backport:
Reviewed:
Affected Versions:
Pull request ID:
Description
Describe the get_recovery_priority() and get_backfill_priority() as it relates to these constants:
#define OSD_RECOVERY_PRIORITY_MIN 0 /// base backfill priority for MBackfillReserve #define OSD_BACKFILL_PRIORITY_BASE 100 /// base backfill priority for MBackfillReserve (degraded PG) #define OSD_BACKFILL_DEGRADED_PRIORITY_BASE 140 /// base recovery priority for MBackfillReserve #define OSD_RECOVERY_PRIORITY_BASE 180 /// base backfill priority for MBackfillReserve (inactive PG) #define OSD_BACKFILL_INACTIVE_PRIORITY_BASE 220 /// max manually/automatically set recovery priority for MBackfillReserve #define OSD_RECOVERY_PRIORITY_MAX 253 /// backfill priority for MBackfillReserve, when forced manually #define OSD_BACKFILL_PRIORITY_FORCED 254 /// recovery priority for MRecoveryReserve, when forced manually #define OSD_RECOVERY_PRIORITY_FORCED 255 /// priority for pg deletion when osd is not fullish #define OSD_DELETE_PRIORITY_NORMAL 179 /// priority for pg deletion when osd is approaching full #define OSD_DELETE_PRIORITY_FULLISH 219 /// priority when more full #define OSD_DELETE_PRIORITY_FULL 255
Updated by David Zafman about 5 years ago
- Related to Feature #39339: prioritize backfill of metadata pools, automatically added
Updated by David Zafman almost 5 years ago
- Related to Bug #39099: Give recovery for inactive PGs a higher priority added
Updated by David Zafman almost 5 years ago
Now we need to include new recovery priority boost.
/// base recovery priority for MRecoveryReserve (inactive PG)
#define OSD_RECOVERY_INACTIVE_PRIORITY_BASE 220
Updated by David Zafman almost 5 years ago
- Status changed from New to In Progress
- Pull request ID set to 27941
Updated by David Zafman almost 5 years ago
- Status changed from In Progress to Resolved
Actions