Do not store subfile signatures for very short blocks.
[cumulus.git] / subfile.cc
index f365c4b..4e13005 100644 (file)
@@ -264,7 +264,8 @@ list<ObjectReference> Subfile::create_incremental(TarSegmentStore *tss,
         o->write(tss);
         ObjectReference ref = o->get_ref();
         db->StoreObject(ref, block_csum, analyzed_len, block_age);
-        store_block_signatures(ref, new_block_summary);
+        if (analyzed_len >= 16384)
+            store_block_signatures(ref, new_block_summary);
         refs.push_back(ref);
         delete o;
         return refs;