Re: test-fdutimensat failures after 7.0.6-200.fc44.x86_64 kernel update

Collin Funk <[email protected]>
Newsgroups gmane.comp.lib.gnulib.bugs,gmane.linux.kernel,gmane.comp.file-systems.btrfs,gmane.linux.file-systems
Message-ID <[email protected]>
Hi Christoph,

Christoph Hellwig <[email protected]> writes:

> On Fri, May 15, 2026 at 10:14:28PM -0700, Collin Funk wrote:
>> Adding some print statements in place of the comment:
>> 
>>         fprintf (stderr, "%jd\n", (intmax_t) st3.st_atime);
>>         fprintf (stderr, "%jd\n", (intmax_t) Y2K);
>>         fprintf (stderr, "----------------\n");
>
> Can you share a complete stand-alone C source file for this
> reproducer?

It would be quite difficult. The test uses a nap function that sleeps
until the system can notice a timestamp difference. It attempts to use
the smallest interval possible, which requires a bit of work [1].

Apologies for the late reply, I haven't been able to reproduce this
since my original report. I'll let you know if it occurs again and
hopefully I can create a simple reproducer.

Thanks,
Collin

[1] https://github.com/coreutils/gnulib/blob/5ab7a04761dac69403f677de4ee44c1940777b46/tests/nap.h
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.