WIP primary OSD read

This commit is contained in:
Vitaliy Filippov
2020-01-30 22:06:46 +03:00
parent f4707709c6
commit ec50957c41
10 changed files with 133 additions and 19 deletions
+1 -2
View File
@@ -101,8 +101,7 @@ struct pg_t
uint64_t pg_cursize = 3, pg_size = 3, pg_minsize = 2;
uint64_t pg_num;
uint64_t clean_count = 0;
// target_set = (role => osd_num). role numbers start with zero
// when PG is degraded, target_set only includes 2 OSDs
// target_set = (role => osd_num or UINT64_MAX if missing). role numbers start with zero
std::vector<uint64_t> target_set;
// moved object map. by default, each object is considered to reside on the target_set.
// this map stores all objects that differ.