[PATCH] generic: require filesize to be greater than fs block size in generic/240

Stanislav Kholmanskikh stanislav.kholmanskikh at oracle.com
Fri Dec 6 03:39:41 CST 2013


On 12/06/2013 01:24 PM, Stanislav Kholmanskikh wrote:
> If we execute generic/240 on a fs which has its fs block size greater
> than 64k (for example, NFS), this test will fail with:
>
>    io_submit failed: Invalid argument
>
> This will happen because in src/aio-dio-regress/aiodio_sparse2.c this
> expression
>
>    num_aio = filesize / step;
>
> will set num_aio to 0 and this means that no io_setup() will happen
> before calling io_submit().
Actually, I mean "... no io_prep_pwrite() will happen before calling 
io_submit()". It's a typo.



More information about the xfs mailing list