Implement protocol-level checksums (xxhash3)

This commit is contained in:
Vitaliy Filippov
2026-07-05 14:58:09 +03:00
parent 8b46914999
commit 38a1f6937d
13 changed files with 195 additions and 59 deletions
+11
View File
@@ -5,6 +5,7 @@
#include <assert.h>
#include "messenger.h"
#include "../util/xxh_x86dispatch.h"
void osd_client_t::cancel_ops()
{
@@ -209,4 +210,14 @@ osd_client_t::~osd_client_t()
delete op;
}
}
if (read_csum_state)
{
XXH3_freeState(read_csum_state);
read_csum_state = NULL;
}
if (write_csum_state)
{
XXH3_freeState(write_csum_state);
write_csum_state = NULL;
}
}