Remove bypassed checksums in --inplace to improve speed.
authorWayne Davison <wayned@samba.org>
Sat, 3 Aug 2013 16:44:13 +0000 (09:44 -0700)
committerWayne Davison <wayned@samba.org>
Sat, 3 Aug 2013 16:59:38 +0000 (09:59 -0700)
commitde94193353864221280be9fbb6193d92eb133000
tree76bee964a0f7424bc8eb2b259e5168850d63a674
parent05fce6582a9192c58b2107153ec00056fd120d14
Remove bypassed checksums in --inplace to improve speed.

When checking a checksum that refers to a part of an --inplace file that
has been overwritten w/o getting SUMFLG_SAME_OFFSET set, we remove the
checksum from the list.  This will speed up files that have a lot of
identical checksum blocks (e.g. sequences of zeros) that we can't use
due to them not getting marked as being the same.  Patch provided by
Michael Chapman.
NEWS
match.c