svn commit: r325817 - head/tests/sys/aio

Alan Somers asomers at freebsd.org
Tue Nov 14 20:57:38 UTC 2017


Sorry for the breakage.  A fix is on the way, but I need to build an
arm world first.

On Tue, Nov 14, 2017 at 1:39 PM, Ravi Pokala <rpokala at mac.com> wrote:
> Hi Alan,
>
> This appears to blow up most ARM worlds (and maybe other things too? My `make tinderbox' is still working through the ARMs):
>
> _.arm.arm.buildworld:
> --- all_subdir_tests/sys/aio ---
> /usr/home/rpokala/freebsd/clean/base/head/tests/sys/aio/lio_kqueue_test.c:123:12: error: format specifies type 'long' but the argument has type 'off_t' (aka 'lo
> ng long') [-Werror,-Wformat]
>                                        iocb[k]->aio_offset);
>                                        ^~~~~~~~~~~~~~~~~~~
> /usr/home/rpokala/freebsd/clean/base/head/tests/sys/aio/lio_kqueue_test.c:137:8: error: format specifies type 'long' but the argument has type 'time_t' (aka 'lo
> ng long') [-Werror,-Wformat]
>                             time1, time2, time2-time1, result);
>                             ^~~~~
> /usr/home/rpokala/freebsd/clean/base/head/tests/sys/aio/lio_kqueue_test.c:137:15: error: format specifies type 'long' but the argument has type 'time_t' (aka 'l
> ong long') [-Werror,-Wformat]
>                             time1, time2, time2-time1, result);
>                                    ^~~~~
> /usr/home/rpokala/freebsd/clean/base/head/tests/sys/aio/lio_kqueue_test.c:137:22: error: format specifies type 'long' but the argument has type 'long long' [-We
> rror,-Wformat]
>                             time1, time2, time2-time1, result);
>                                           ^~~~~~~~~~~
>
> Thanks,
>
> Ravi (rpokala@)
>
> -----Original Message-----
> From: <owner-src-committers at freebsd.org> on behalf of Alan Somers <asomers at FreeBSD.org>
> Date: 2017-11-14, Tuesday at 09:46
> To: <src-committers at freebsd.org>, <svn-src-all at freebsd.org>, <svn-src-head at freebsd.org>
> Subject: svn commit: r325817 - head/tests/sys/aio
>
> Author: asomers
> Date: Tue Nov 14 17:46:37 2017
> New Revision: 325817
> URL: https://svnweb.freebsd.org/changeset/base/325817
>
> Log:
>   AIO tests: increase limits
>
>   tests/sys/aio/aio_kqueue_test.c
>         Instead of using a hard-coded queue depth, use
>         vfs.aio.max_aio_queue_per_proc
>
>   tests/sys/aio/lio_kqueue_test.c
>         The old, small limit on lio_listio's operation count was lifted by
>         change 324941.  Raise the operation count as high as possible without
>         exceeding the process's operation limit.
>
>   MFC after:    3 weeks
>   Sponsored by: Spectra Logic Corp
>
> Modified:
>   head/tests/sys/aio/aio_kqueue_test.c
>   head/tests/sys/aio/lio_kqueue_test.c


More information about the svn-src-all mailing list