[PATCH v3 0/2] read-cache: call verify_hdr() in a background thread
- From
- git@jeffhostetler.com <git@jeffhostetler.com>
- Date
- Mar 28, 2017, 19:07 UTC
- Message-ID
- <20170328190732.59486-1-git@jeffhostetler.com>
From: Jeff Hostetler <jeffhost@microsoft.com>
Version 3 of this patch series simplifies this effort to just turn on/off the hash verification using a "core.checksumindex" config variable.
I've preserved the original checksum validation code so that we can force it on in fsck if desired.
It eliminates the original threading model completely.
Jeff Hostetler (2): read-cache: core.checksumindex test-core-checksum-index: core.checksumindex test helper
Makefile | 1 + read-cache.c | 12 ++++++ t/helper/.gitignore | 1 + t/helper/test-core-checksum-index.c | 77 +++++++++++++++++++++++++++++++++++++ 4 files changed, 91 insertions(+) create mode 100644 t/helper/test-core-checksum-index.c
-- 2.9.3