public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Multigrain timestamps do not work on RISC-V
@ 2025-01-29 10:07 Andreas Schwab
  2025-01-29 17:20 ` Andreas Schwab
  2025-01-29 23:03 ` Jeff Layton
  0 siblings, 2 replies; 6+ messages in thread
From: Andreas Schwab @ 2025-01-29 10:07 UTC (permalink / raw)
  To: linux-riscv; +Cc: linux-kernel, linux-fsdevel

The statx06 test in the LTP testsuite fails since the multigrain
timestamp feature was merged:

https://openqa.opensuse.org/tests/4800409#step/statx06/7

The issue is that the nsec part of ctime does not change from the time
the file is created:

$ touch xx
$ stat -c $'mtime %y\nctime %z' xx
mtime 2025-01-29 09:43:44.677442605 +0100
ctime 2025-01-29 09:43:44.677442605 +0100
$ touch xx
$ stat -c $'mtime %y\nctime %z' xx
mtime 2025-01-29 09:43:51.641581658 +0100
ctime 2025-01-29 09:43:51.677442605 +0100

My guess would be that something in inode_set_ctime_current is going
wrong.

-- 
Andreas Schwab, SUSE Labs, schwab@suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE  1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2025-01-30  9:29 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-01-29 10:07 Multigrain timestamps do not work on RISC-V Andreas Schwab
2025-01-29 17:20 ` Andreas Schwab
2025-01-29 23:06   ` Jeff Layton
2025-01-29 23:28     ` Jeff Layton
2025-01-30  9:29       ` Andreas Schwab
2025-01-29 23:03 ` Jeff Layton

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox