[LTP] [PATCH v2] copy_file_range03: comparing timestamp in tst_timespec_diff

Cyril Hrubis chrubis@suse.cz
Mon Sep 6 12:38:00 CEST 2021


Hi!
> Theoretically, this is correct, but I'm fearing that the process might
> cost more time on performing with different system loads.
> 
> This means 'diff_us <= 2000000' is an unreliable condition to
> many virtual machines. That largely depends on the system
> scheduler at that moment as well.

Right, I guess that we can relax the upper bound, it can be even a
minute and it would still be a good sanity check.

-- 
Cyril Hrubis
chrubis@suse.cz


More information about the ltp mailing list