]> git.apps.os.sepia.ceph.com Git - xfstests-dev.git/commit
aio-dio-regress: align I/O buffers to 4k for 4k sector devices
authorJeff Moyer <jmoyer@redhat.com>
Wed, 3 Jun 2009 20:09:34 +0000 (15:09 -0500)
committerEric Sandeen <sandeen@sandeen.net>
Wed, 3 Jun 2009 20:09:34 +0000 (15:09 -0500)
commit4683b6d261cb9e93a22c258d2d82082f0416b37c
tree1ab0995a02de221497f20bb7b750549ae90a678c
parentc639e76bdbdeb01605963f9aa88efdb18f1d57ea
aio-dio-regress: align I/O buffers to 4k for 4k sector devices

(and virtual devices as found on s390)

Without this patch, these tests can randomly fail on s390 systems which
use a virtual block device with sector size of 4k.  Testing confirms
that this patch resolves the issue.

Signed-off-by: Jeff Moyer <jmoyer@redhat.com>
Reviewed-by: Eric Sandeen <sandeen@redhat.com>
src/aio-dio-regress/aio-dio-extend-stat.c
src/aio-dio-regress/aio-dio-invalidate-failure.c
src/aio-dio-regress/aio-dio-subblock-eof-read.c