Fix EC just-bitmap reads (len=0) (fixes SCHEME=ec test_snapshot.sh)

This commit is contained in:
Vitaliy Filippov
2023-05-07 14:00:08 +03:00
parent 44f86f1999
commit 5da1d8e1b5
5 changed files with 69 additions and 35 deletions
+1
View File
@@ -23,6 +23,7 @@ struct osd_rmw_stripe_t
void *read_buf, *write_buf;
void *bmp_buf;
uint32_t req_start, req_end;
// read_end=UINT32_MAX means to only read bitmap, but not data
uint32_t read_start, read_end;
uint32_t write_start, write_end;
bool missing;