From db549aa7f63621e1b81d32e59456303c5003b4b9 Mon Sep 17 00:00:00 2001 From: Vito Caputo Date: Mon, 23 Aug 2021 15:34:12 -0700 Subject: verify-hashed-objects: add `jio verify hashed-objects` This is currently very hacky and unfinished, but does enough for some performance comparisons against a zstd-using journalctl --verify that has been hacked to return early after the first pass. It's currently rather leaky, the whole per-object-dispatch thingy is illuminating a thunk_h shortcoming and forcing addressing the issue... soon. --- src/verify-hashed-objects.h | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 src/verify-hashed-objects.h (limited to 'src/verify-hashed-objects.h') diff --git a/src/verify-hashed-objects.h b/src/verify-hashed-objects.h new file mode 100644 index 0000000..851e8c5 --- /dev/null +++ b/src/verify-hashed-objects.h @@ -0,0 +1,8 @@ +#ifndef _JIO_VERIFY_HASHED_OBJECTS +#define _JIO_VERIFY_HASHED_OBJECTS + +typedef struct iou_t iou_t; + +int jio_verify_hashed_objects(iou_t *iou, int argc, char *argv[]); + +#endif -- cgit v1.2.3