[LTP] [PATCH] ltp-aiodio.part4: Run DIT000 with only 1 reader process
Martin Doucha
mdoucha@suse.cz
Thu Jan 5 17:27:47 CET 2023
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.
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.
--
Martin Doucha mdoucha@suse.cz
QA Engineer for Software Maintenance
SUSE LINUX, s.r.o.
CORSO IIa
Krizikova 148/34
186 00 Prague 8
Czech Republic
More information about the ltp
mailing list