xfstests: 223 - test file alignment on stripe geometry
authorEric Sandeen <sandeen@sandeen.net>
Wed, 3 Feb 2010 16:43:53 +0000 (10:43 -0600)
committerEric Sandeen <sandeen@sandeen.net>
Wed, 3 Feb 2010 16:43:53 +0000 (10:43 -0600)
commit8a5dcff7ca767e57b00c8f642cbbbb0a4336c897
tree2ccbfef64578a8adfc7646a72c07afc2f525a1af
parent640ecede93a8463b6155bda0bd83414130adc6d3
xfstests: 223 - test file alignment on stripe geometry

A first-cut test to ensure that files are well-aligned on filesystems
with stripe geometry.

Several sizes of stripe units are mkfs'd, and then files are written
and fallocated in various multiples of those stripe sizes.
Each file is checked to ensure that the first block is
stripe-aligned.

(Ideally, for any fragmented files, we should ensure that each
fragment start is well-aligned, but this does not do that yet)

(slightly unrelated: don't send scratch mkfs output to /dev/null,
we'd like to see mkfs output and direct it to $seq.full - this
more or less matches _scratch_mkfs_xfs behavior and doesn't
break any tests that I can see)

Signed-off-by: Eric Sandeen <sandeen@sandeen.net>
Reviewed-by: Christoph Hellwig <hch@lst.de>
223 [new file with mode: 0755]
223.out [new file with mode: 0644]
common.rc
group
src/Makefile
src/t_stripealign.c [new file with mode: 0644]