]> git.neil.brown.name Git - LaFS.git/commit
Incorp: improve setting of address after split.
authorNeilBrown <neilb@suse.de>
Fri, 18 Jun 2010 11:47:27 +0000 (21:47 +1000)
committerNeilBrown <neilb@suse.de>
Fri, 18 Jun 2010 11:47:27 +0000 (21:47 +1000)
commit790a63ff9dd9ab7a0944d22798ecc57e8a41ee46
tree84a42e3d248989c9fac6039d7875a3c14fc86f57
parent1f21ae190baad7233c6d7a16c72d29b55f7655df
Incorp: improve setting of address after split.

When we split a block, the address of the second half should be the
first address that won't fit in the original block.
Currently it is the first address that didn't fit.  If we end up
adding blocks in reverse address order, this could cause each new
block to require a split.

Signed-off-by: NeilBrown <neilb@suse.de>
modify.c