Implement protocol-level checksums (xxhash3)

This commit is contained in:
Vitaliy Filippov
2026-04-27 15:24:44 +03:00
parent f9eb497105
commit ac5c753735
13 changed files with 196 additions and 61 deletions
+11
View File
@@ -5,6 +5,7 @@
#include <assert.h>
#include "messenger.h"
#include "../util/xxh_x86dispatch.h"
#ifdef WITH_RDMA
#include "msgr_rdma.h"
#endif
@@ -228,4 +229,14 @@ osd_client_t::~osd_client_t()
}
#endif
#endif
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;
}
}