[PATCH v4 0/4] read-cache: call verify_hdr() in a background thread
- From
- git@jeffhostetler.com <git@jeffhostetler.com>
- Date
- Apr 3, 2017, 18:53 UTC
- Message-ID
- <20170403185306.36164-1-git@jeffhostetler.com>
From: Jeff Hostetler <jeffhost@microsoft.com>
Version 4 of this patch series incorporates the cleanup made by Junio to my 3rd veresion, updates fsck to always verify the checksum, and a new simplified perf test using p0002 as discussed on the mailing list.
================ 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 (4): read-cache: core.checksumindex fsck: force core.checksumindex=1 t1450-fsck: test core.checksumindex p0002-read-cache: test core.checksumindex
Documentation/config.txt | 8 ++++++++ builtin/fsck.c | 1 + cache.h | 7 +++++++ read-cache.c | 18 ++++++++++++++++++ t/perf/p0002-read-cache.sh | 8 +++++++- t/t1450-fsck.sh | 27 +++++++++++++++++++++++++++ 6 files changed, 68 insertions(+), 1 deletion(-)
-- 2.9.3