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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




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.

_______________________________________________
xfs mailing list
xfs@xxxxxxxxxxx
http://oss.sgi.com/mailman/listinfo/xfs




[Index of Archives]     [Linux XFS Devel]     [Linux Filesystem Development]     [Filesystem Testing]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux