]> arthur.barton.de Git - bup.git/commit
hashsplit: smallish files (less than BLOB_MAX) weren't getting split.
authorAvery Pennarun <apenwarr@gmail.com>
Sun, 14 Feb 2010 06:16:43 +0000 (01:16 -0500)
committerAvery Pennarun <apenwarr@gmail.com>
Sun, 14 Feb 2010 06:20:54 +0000 (01:20 -0500)
commit459c44f95f7a2ca5d71fc024b94171be13123269
treed15e2be517032c30f9343be67b5df6bbe107e83c
parente83d9044924bd85085dc71063e1c3661c5c01b18
hashsplit: smallish files (less than BLOB_MAX) weren't getting split.

This buglet was introduced when doing my new fanout cleanups.  It's
relatively unimportant, but it would cause a bit of space wastage for
smallish files that changed by a bit, since we couldn't take advantage of
deduplication for their blocks.

This also explains why the --fanout argument test broke earlier.  I thought
I was going crazy (since the whole fanout implementation had changed and the
number now means something slightly different), so I just removed it.  But
now we can bring it back and it passes again.^
hashsplit.py
t/test.sh