[PATCH 4/4] xfstests: add mapped write fsx operations to 091

Alex Elder aelder at sgi.com
Fri Jul 8 14:04:12 CDT 2011


On Fri, 2011-07-08 at 10:53 +1000, Dave Chinner wrote:
> From: Dave Chinner <dchinner at redhat.com>
> 
> 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 at redhat.com>

Good idea.

Reviewed-by: Alex Elder <aelder at sgi.com>





More information about the xfs mailing list