]> git-server-git.apps.pok.os.sepia.ceph.com Git - xfstests-dev.git/commit
xfstests: add mapped write fsx operations to 091
authorDave Chinner <dchinner@redhat.com>
Thu, 14 Jul 2011 05:27:27 +0000 (15:27 +1000)
committerDave Chinner <david@fromorbit.com>
Thu, 14 Jul 2011 05:27:27 +0000 (15:27 +1000)
commitc00bad1c4c348e45d00982d06fc40522fb8cb035
tree803a64948ed46d4a2c4e54bbf95655132f596fab
parent77c06202484237e26774efbd1774c251b6bef0a9
xfstests: add mapped write fsx operations to 091

The recent busted fsx updates caused fsx to execute fsx with direct
IO and mmapped reads and writes on an XFS filesystem. The result
uncovered a direct-IO write vs mmap read bug to do with EOF
sub-block zeroing on the direct IO write.

Hence whiel we do not recommend that pepole mix DIO with mmap on the
same file, we should at least have tests that exercise it as they
often show up other problems like this.

Signed-off-by: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Eric Sandeen <sandeen@redhat.com>
Reviewed-by: Alex Elder <aelder@sgi.com>
091
091.out