Fix intent writes with padded checksums

This commit is contained in:
Vitaliy Filippov
2025-12-02 01:52:12 +03:00
parent 62995243f3
commit d4c465f786
7 changed files with 72 additions and 33 deletions
+1 -1
View File
@@ -49,7 +49,7 @@ struct __attribute__((__packed__)) heap_write_t
uint32_t get_size(blockstore_heap_t *heap);
uint32_t get_csum_size(blockstore_heap_t *heap);
bool needs_recheck(blockstore_heap_t *heap);
bool needs_compact(uint64_t compacted_lsn);
bool needs_compact(blockstore_heap_t *heap);
bool is_compacted(uint64_t compacted_lsn);
bool can_be_collapsed(blockstore_heap_t *heap);
bool is_allowed_before_compacted(uint64_t compacted_lsn, bool is_last_entry);