Remove hardcode of the EC(2+1) scheme, now it supports EC(k+1), fix some bugs

This commit is contained in:
Vitaliy Filippov
2020-02-13 19:13:17 +03:00
parent b7ccd63104
commit ffe073473a
13 changed files with 183 additions and 95 deletions
+2 -1
View File
@@ -131,7 +131,8 @@ struct __attribute__((__packed__)) osd_op_secondary_list_t
{
osd_op_header_t header;
// placement group total number and total count
pg_num_t pgnum, pgtotal;
pg_num_t list_pg, pg_count;
uint64_t parity_block_size;
};
struct __attribute__((__packed__)) osd_reply_secondary_list_t