On Wed, May 26, 2021 at 10:59 AM Jeff Moyer <jmoyer(a)redhat.com>
wrote:
> Paul Moore <paul(a)paul-moore.com> writes:
>
> > Also, any pointers to easy-to-run io_uring tests would be helpful. I
> > am particularly interested in tests which make use of the personality
> > option, share urings across process boundaries, and make use of the
> > sqpoll functionality.
>
> liburing contains a test suite:
>
https://git.kernel.dk/cgit/liburing/
>
> You can run it via 'make runtests'.
Thanks Jeff, I'll take a look. Quick question as I start sifting
through the tests, are there any tests in here which share a single
ring across process boundaries?
Yes. At the very least, this one:
test/across-fork.c
-Jeff