Skip to content

fsck improvements

Nguyễn Thái Ngọc Duy git 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 5 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4fsck: return error code when verify_pack() goes wrongbuiltin/fsck.c+3 -10 replies
2/4Stop verify_packfile() as soon as an error occurspack-check.c+5 -10 replies
3/4fsck: avoid reading every object twicebuiltin/fsck.c pack-check.c pack.h+39 -210 replies
4/4fsck: print progressDocumentation/git-fsck.txt builtin/fsck.c pack-check.c +1 more+62 -72 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/4] fsck improvements

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(-)
Signature · 1 line
1.7.4.74.g639db