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

Alex Elder
2011-07-08T19:04:17Z

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

Good idea.

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