[LTP] [PATCH] ltp-aiodio.part4: Run DIT000 with only 1 reader process

Petr Vorel pvorel@suse.cz
Thu Jan 5 22:44:23 CET 2023


Hi Martin,

> On 05. 01. 23 16:38, Petr Vorel wrote:
> > But I wonder why changing just the first dio_truncate will fix it
> > (obviously not). Could we detect RT and force -n 1 for it?
> > (utsname.version should have "PREEMPT RT"). Obviously only from version which
> > got affected.

> It'll fix only one of the three tests. But I like having some direct I/O
> stress tests for regular kernels so I've modified only one dio_truncate
> instance. The other can be skipped manually on RT kernels.

Make sense.

> But let's add a warning to dio_truncate if it's running on RT kernel with
> too many children so that users know that the failure is sometimes expected.

Thank you!

Reviewed-by: Petr Vorel <pvorel@suse.cz>

Kind regards,
Petr


More information about the ltp mailing list