]> git.neil.brown.name Git - LaFS.git/commit
Handle extents getting added before an indirect block.
authorNeilBrown <neilb@suse.de>
Sun, 13 Jun 2010 10:11:56 +0000 (20:11 +1000)
committerNeilBrown <neilb@suse.de>
Fri, 18 Jun 2010 11:16:45 +0000 (21:16 +1000)
commit1736b5f072c4f89cc641fb0a1991d9c145c411ec
treef1a71d61f01da80a0ad56020ac36b1c6b49f13a9
parent03567a6d9e1a9bb19d5ef98c1c580e0fcb339427
Handle extents getting added before an indirect block.

Now that indirect blocks are 'mobile' and can have a
start address, it is possible that an extent in uninc_table
starts before the indirect addresses.
In this case the logic that assured us there was room for all
the addresses fall down.

So detect that case earlier and force the indirect block
to either start at the start of the uninc bloc, or become
an extent block.  Possibly it will split as part of this.

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