Update dirty_db and clean_db after flushing an entry

This commit is contained in:
Vitaliy Filippov
2019-11-15 02:26:18 +03:00
parent 0627dd0f5e
commit 71194f014a
4 changed files with 66 additions and 17 deletions
+2 -2
View File
@@ -145,8 +145,8 @@ struct __attribute__((__packed__)) dirty_entry
{
uint32_t state;
uint32_t flags; // unneeded, but present for alignment
uint64_t location; // location in either journal or data
uint32_t offset; // offset within stripe
uint64_t location; // location in either journal or data -> in BYTES
uint32_t offset; // data offset within object (stripe)
uint32_t len; // data length
uint64_t journal_sector; // journal sector used for this entry
};