Support xxhash 32-bit checksums (data_csum_type=xxh3_32)

This commit is contained in:
Vitaliy Filippov
2026-04-22 01:41:10 +03:00
parent e21a10940f
commit 5776837c58
19 changed files with 7672 additions and 48 deletions
+1 -1
View File
@@ -1117,7 +1117,7 @@ void test_corruption()
blockstore_heap_t heap(&dsk, buffer_area.data());
auto entry = ((heap_entry_t*)tmp.data());
entry->size++;
entry->crc32c = entry->calc_crc32c();
entry->checksum = entry->calc_checksum(&heap);
uint64_t entries_loaded;
assert(heap.load_blocks(0, dsk.meta_block_size, tmp.data(), false, entries_loaded) == EDOM);
}