From: Rusty Russell Date: Wed, 17 Nov 2010 09:52:19 +0000 (+1030) Subject: tdb2: only adjust size once when growing X-Git-Url: https://git.ozlabs.org/?a=commitdiff_plain;h=e984ef661368582f7b6e7a8d2a2d709356ac7963;hp=e984ef661368582f7b6e7a8d2a2d709356ac7963;p=ccan tdb2: only adjust size once when growing We were adding 50% to datalen twice, so move it out of adjust_size and make the callers do it. We also add a test that the heuristic is working at all. ---