Rename dirty_entry.size to len, remove some unneeded methods and fields, read metadata correctly

This commit is contained in:
Vitaliy Filippov
2019-11-14 01:13:07 +03:00
parent 1c6b9778a4
commit bc549553e4
9 changed files with 25 additions and 50 deletions
+1 -1
View File
@@ -33,7 +33,7 @@ void blockstore::enqueue_write(blockstore_operation *op)
.flags = 0,
.location = 0,
.offset = op->offset,
.size = op->len,
.len = op->len,
});
// Remember write as unsynced here, so external consumers could get
// the list of dirty objects to sync just before issuing a SYNC request