Mostly finish primary-OSD-read

This commit is contained in:
Vitaliy Filippov
2020-02-03 14:18:21 +03:00
parent 9fb2d3f840
commit 235d15422c
7 changed files with 320 additions and 217 deletions
+4 -1
View File
@@ -26,6 +26,9 @@
#define OSD_RW_ALIGN 512
#define OSD_RW_MAX 64*1024*1024
typedef uint64_t osd_num_t;
typedef uint32_t pg_num_t;
// common request and reply headers
struct __attribute__((__packed__)) osd_op_header_t
{
@@ -128,7 +131,7 @@ struct __attribute__((__packed__)) osd_op_secondary_list_t
{
osd_op_header_t header;
// placement group total number and total count
uint32_t pgnum, pgtotal;
pg_num_t pgnum, pgtotal;
};
struct __attribute__((__packed__)) osd_reply_secondary_list_t