So I looked at fsck to see if it's easy to support multithread and found out I could reduce fsck time by half. So here it is. I think I haven't made any mistakes but fsck is not my domain. The last patch is reposted because it conflicts with the series. It also prints progress when checking connnectivity. Nguyễn Thái Ngọc Duy (4): fsck: return error code when verify_pack() goes wrong Stop verify_packfile() as soon as an error occurs fsck: avoid reading every object twice fsck: print progress Documentation/git-fsck.txt | 12 ++++++- builtin/fsck.c | 78 +++++++++++++++++++++++++++++++++++--------- pack-check.c | 27 +++++++++++++-- pack.h | 6 +++- 4 files changed, 101 insertions(+), 22 deletions(-) -- 1.7.4.74.g639db -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html