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 -1
View File
@@ -191,7 +191,7 @@ struct __attribute__((__packed__)) osd_op_rw_t
uint64_t inode;
// offset
uint64_t offset;
// length
// length. 0 means to read all bitmaps of the specified range, but no data.
uint32_t len;
// flags (for future)
uint32_t flags;