Add "external" bitmap support to the secondary OSD protocol

This commit is contained in:
Vitaliy Filippov
2021-04-10 17:44:12 +03:00
parent 6107a4d07b
commit 860ac24762
11 changed files with 70 additions and 15 deletions
+4
View File
@@ -71,6 +71,8 @@ struct __attribute__((__packed__)) osd_op_secondary_rw_t
uint32_t offset;
// length
uint32_t len;
// bitmap/attribute length - bitmap comes after header, but before data
uint32_t attr_len;
};
struct __attribute__((__packed__)) osd_reply_secondary_rw_t
@@ -78,6 +80,8 @@ struct __attribute__((__packed__)) osd_reply_secondary_rw_t
osd_reply_header_t header;
// for reads and writes: assigned or read version number
uint64_t version;
// for reads: bitmap/attribute length (just to double-check)
uint32_t attr_len;
};
// delete object on the secondary OSD