Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.kernel > #93796

Bug#1144613: linux-image-7.1.6+deb14-amd64: ext4 st_mtime and time() inconsistency

From Vincent Lefevre <vincent@vinc17.net>
Newsgroups linux.debian.bugs.dist, linux.debian.kernel
Subject Bug#1144613: linux-image-7.1.6+deb14-amd64: ext4 st_mtime and time() inconsistency
Date 2026-08-19 16:30 +0200
Message-ID <NtPsJ-bTWa-9@gated-at.bofh.it> (permalink)
References (2 earlier) <NsTI5-bnRg-1@gated-at.bofh.it> <NtNAB-bSXq-3@gated-at.bofh.it> <NtOZH-bTCD-1@gated-at.bofh.it> <NsTI5-bnRg-1@gated-at.bofh.it> <NtOZH-bTCD-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Cross-posted to 2 groups.

Show all headers | View raw


On 2026-08-19 15:50:16 +0200, Salvatore Bonaccorso wrote:
> I think this is a consequence of 4e40eff0b5737c ("fs: add
> infrastructure for multigrain timestamps") and following in 6.13-rc1.
> 
> time(2) has only an accurancy in second, so the code might need to
> use clock_gettime(2).

The accuracy does not matter. This is a question of consistency.
If an event A occurs before an event B, one expects to have
time(A) <= time(B).

-- 
Vincent Lefèvre <vincent@vinc17.net> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / Pascaline project (LIP, ENS-Lyon)

Back to linux.debian.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Bug#1144613: linux-image-7.1.6+deb14-amd64: ext4 st_mtime and time() inconsistency Vincent Lefevre <vincent@vinc17.net> - 2026-08-19 14:00 +0200
  Bug#1144613: linux-image-7.1.6+deb14-amd64: ext4 st_mtime and time() inconsistency Vincent Lefevre <vincent@vinc17.net> - 2026-08-19 14:30 +0200
    Processed: Re: linux-image-7.1.6+deb14-amd64: ext4 st_mtime and  time() inconsistency "Debian Bug Tracking System" <owner@bugs.debian.org> - 2026-08-19 14:30 +0200
    Bug#1144613: linux-image-7.1.6+deb14-amd64: ext4 st_mtime and time() inconsistency Salvatore Bonaccorso <carnil@debian.org> - 2026-08-19 16:00 +0200
      Bug#1144613: linux-image-7.1.6+deb14-amd64: ext4 st_mtime and time() inconsistency Vincent Lefevre <vincent@vinc17.net> - 2026-08-19 16:30 +0200
        Bug#1144613: linux-image-7.1.6+deb14-amd64: ext4 st_mtime and time() inconsistency Vincent Lefevre <vincent@vinc17.net> - 2026-08-19 17:20 +0200
          Bug#1144613: linux-image-7.1.6+deb14-amd64: ext4 st_mtime and time() inconsistency Vincent Lefevre <vincent@vinc17.net> - 2026-08-19 19:20 +0200

csiph-web