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>
This commit is contained in:
Eric Sandeen
2012-09-10 20:46:10 -05:00
parent 187e92903f
commit e48ba4f74a
2 changed files with 33 additions and 27 deletions
+1 -1
View File
@@ -1,5 +1,5 @@
QA output created by 275
------------------------------
write lack test
write until ENOSPC test
------------------------------
done