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
Actions