274: Many fixups
authorEric Sandeen <sandeen@redhat.com>
Tue, 15 May 2012 20:20:05 +0000 (15:20 -0500)
committerEric Sandeen <sandeen@sandeen.net>
Tue, 15 May 2012 20:20:05 +0000 (15:20 -0500)
commit270a6e5ad5515db23360d0072f9d76c93972c934
tree2b17b51f1ff504df25c3344c4af24b716a003417
parent1fce0780f63ccdd308767e23fe39a18d30d973d6
274: Many fixups

This changes quite a few things about 274 to make it more robust
and useful.

* More comments
* Use xfs_io for falloc (not all systems have /usr/bin/fallocate)
* use _require_xfs_io_falloc to be sure system & fs support preallocation
* Do not remove all of the files in $SCRATCH_MNT/ post-mkfs
* Do not remove all of the files in $SCRATCH_MNT/ on completion
  (this breaks e2fsck when lost+found/ goes missing)
* Don't cd into $SCRATCH_MNT
* Try harder to completely fill the fs
* Use a larger preallocated space, and write into all of it (hopefully
  avoid just accidentally succeeding by writing into fs reserved
  space that may be there)
* Save more output in $seq.full instead of /dev/null
* Fill preallocated space diabolically

Signed-off-by: Eric Sandeen <sandeen@redhat.com>
Reviewed-by: Mark Tinguely <tinguely@sgi.com>
Reviewed-by: Jan Kara <jack@suse.cz>
274