275: Fix to test and pass properly
authorEric Sandeen <sandeen@sandeen.net>
Tue, 11 Sep 2012 01:46:10 +0000 (20:46 -0500)
committerEric Sandeen <sandeen@sandeen.net>
Tue, 11 Sep 2012 01:46:10 +0000 (20:46 -0500)
commite48ba4f74ac13321f949f164833453e9e0ccaf29
tree56edee1197b34b6dfd6076689f3f9bc1305a060c
parent187e92903f3b8d59658b8ed7d1aa847ae6365f3c
275: Fix to test and pass properly

This is a significant rework of 275, which made too many
assumptions about details of space usage and failed on several
filesystems (it passed on xfs, but only by accident).

This new version tries to leave about 256k free, then tries
a single 1M IO, and fails only if 0 bytes are written.

It also sends a lot more to $seq.full for debugging on failure,
doesn't rm -rf $SCRATC_MNT, and fixes a few other stylistic things.

Signed-off-by: Eric Sandeen <sandeen@redhat.com>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
275
275.out