Add replicated pool support to OSD logic
...in theory :-D now it needs some testing
This commit is contained in:
+5
-3
@@ -1,8 +1,8 @@
|
||||
#include "pg_states.h"
|
||||
|
||||
const int pg_state_bit_count = 13;
|
||||
const int pg_state_bit_count = 14;
|
||||
|
||||
const int pg_state_bits[13] = {
|
||||
const int pg_state_bits[14] = {
|
||||
PG_STARTING,
|
||||
PG_PEERING,
|
||||
PG_INCOMPLETE,
|
||||
@@ -14,10 +14,11 @@ const int pg_state_bits[13] = {
|
||||
PG_HAS_DEGRADED,
|
||||
PG_HAS_MISPLACED,
|
||||
PG_HAS_UNCLEAN,
|
||||
PG_HAS_INVALID,
|
||||
PG_LEFT_ON_DEAD,
|
||||
};
|
||||
|
||||
const char *pg_state_names[13] = {
|
||||
const char *pg_state_names[14] = {
|
||||
"starting",
|
||||
"peering",
|
||||
"incomplete",
|
||||
@@ -29,5 +30,6 @@ const char *pg_state_names[13] = {
|
||||
"has_degraded",
|
||||
"has_misplaced",
|
||||
"has_unclean",
|
||||
"has_invalid",
|
||||
"left_on_dead",
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user