]> git.neil.brown.name Git - LaFS.git/commit
Fix lafs_seg_next to talk write-cluster properly.
authorNeilBrown <neilb@suse.de>
Mon, 18 Oct 2010 00:48:22 +0000 (11:48 +1100)
committerNeilBrown <neilb@suse.de>
Mon, 18 Oct 2010 01:29:08 +0000 (12:29 +1100)
commit19fd807f2b4e86d2f19ae2f345415e140df350de
treed59e8afcb3fe375b107480c277b833fda136de83
parentd5587982e6e599fef2b2c6254aa1a097bff4192b
Fix lafs_seg_next to talk write-cluster properly.

When we have a 2D layout, we want to walk down columns before
across rows, as that encourages adjacent blocks.

So fix lafs_seg_next to do the right thing.

Also check for exceeding the declared size of the segment and
react accordingly.

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