]> git-server-git.apps.pok.os.sepia.ceph.com Git - xfstests-dev.git/commit
xfstests: Add ENOSPC Hole Punch Test
authorAllison Henderson <achender@linux.vnet.ibm.com>
Tue, 28 Jun 2011 14:45:01 +0000 (14:45 +0000)
committerAlex Elder <aelder@sgi.com>
Wed, 20 Jul 2011 23:22:07 +0000 (18:22 -0500)
commitb55fb0807caf04bb7b8275bcf2daf3e9aef7e589
tree454b724f428b96e3737b50684c38f05ad1b434bb
parent5c6a8cb5afb833eb03d54f06aca8470c14a6ab47
xfstests: Add ENOSPC Hole Punch Test

This patch adds a new test 256 that tests that a hole can be punched
even when the disk is full.  Reserved blocks should be used to allow
a punch hole to proceed even when there is not enough blocks to
further fragment the file. To test this, the file system is
fragmented by punching holes in regular intervals and filling the
file system between punches. This will eventually force the file
system to use reserved blocks to proceed with the punch hole
operation.

The work in this patch is a continuation from a previous patch set
that has been partially accepted.

Signed-off-by: Allison Henderson <achender@linux.vnet.ibm.com>
Signed-off-by: Alex Elder <aelder@sgi.com>
256 [new file with mode: 0644]
256.out [new file with mode: 0644]
group