diff options
author | Chris Mason <clm@fb.com> | 2020-02-12 06:19:08 -0800 |
---|---|---|
committer | Chris Mason <clm@fb.com> | 2020-02-12 06:19:08 -0800 |
commit | 7011f12b89d17a3191d1d11e3cc39929438bcd9d (patch) | |
tree | 360979d993450066b7dd61ab4b2c4c77a4d573f4 | |
parent | 88e08956e328749f7d8c93fdcac62a1221f66f88 (diff) | |
download | simoop-7011f12b89d17a3191d1d11e3cc39929438bcd9d.tar.gz |
simoop: make -I/--ignorecrcs skip generating the crcs
Some CPUs can't keep up, make -I skip it.
Signed-off-by: Chris Mason <clm@fb.com>
-rw-r--r-- | simoop.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -226,6 +226,9 @@ static uint64_t __calc_crc(void *xxhash_state, { int ret; + if (ignore_crcs) + return 0; + ret = XXH32_resetState(xxhash_state, verify_header->rand_seed); if (ret) { fprintf(stderr, "error %d during XXH32_resetState\n", ret); |