]> git-server-git.apps.pok.os.sepia.ceph.com Git - xfstests-dev.git/commit
xfstests: speed up 227 by using preallocation
authorDave Chinner <dchinner@redhat.com>
Thu, 26 Jul 2012 08:35:06 +0000 (08:35 +0000)
committerroot <root@cxfsxe4.(none)>
Wed, 22 Aug 2012 20:51:16 +0000 (15:51 -0500)
commit1aa6cb71fb0c653bbaa67fef8df226990a370205
tree3330d4ff3f749b2b57082dedb76a7d3fde8ba3de
parent6955823f920c958681545ae474b92b0e5bce1eb1
xfstests: speed up 227 by using preallocation

Test 227 (fsr test) creates fragmented fre space by doing lots of
small writes to sparse offsets ni a file. This seeks the disk heads
around a lot writing data. We don't need to write data - just
trigger allocation. Hence use preallocation instead of data writes
and run at allocation speed rather than data write speed.

Signed-off-by: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Rich Johnston <rjohnston@sgi.com>
Signed-off-by: Rich Johnston <rjohnston@sgi.com>
227