[LTP] [PATCH] syscalls/utime03: relax the check for 1 second difference
Cyril Hrubis
chrubis@suse.cz
Thu Feb 20 12:17:36 CET 2025
Hi!
> The test is using tst_get_fs_timestamp() which is using REALTIME_COARSE
> clock, which is slightly less accurate. Back in 2022 we added extra log
> message to print also min and max time. In those rare instances where
> it fails this extra log shows it failed by one second difference.
>
> Relax the check a little. Tested on aarch64 VMs, where it's usually
> reproducible after couple hundred iterations.
Aren't we just masking a kernel bug here? Back then we discussed this
with kernel devs and they told us that filesystems use REALTIME_COARSE
internally, so this shouldn't really fail.
What filesystem is this? Does it, by chance, use more granual
timestamps?
--
Cyril Hrubis
chrubis@suse.cz
More information about the ltp
mailing list