Skip to content

Commit 989c530

Browse files
jrngitster
authored andcommitted
racy-git.txt: explain nsec problem in more detail
Idealists may want USE_NSEC to be the default on Linux some day. Point to a patch to better explain the requirements on filesystem code for that to happen. Signed-off-by: Jonathan Nieder <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 580cbb5 commit 989c530

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

Documentation/technical/racy-git.txt

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -42,10 +42,12 @@ compared, but this is not enabled by default because this member
4242
is not stable on network filesystems. With `USE_NSEC`
4343
compile-time option, `st_mtim.tv_nsec` and `st_ctim.tv_nsec`
4444
members are also compared, but this is not enabled by default
45-
because the value of this member becomes meaningless once the
46-
inode is evicted from the inode cache on filesystems that do not
47-
store it on disk.
48-
45+
because in-core timestamps can have finer granularity than
46+
on-disk timestamps, resulting in meaningless changes when an
47+
inode is evicted from the inode cache. See commit 8ce13b0
48+
of git://git.kernel.org/pub/scm/linux/kernel/git/tglx/history.git
49+
([PATCH] Sync in core time granuality with filesystems,
50+
2005-01-04).
4951

5052
Racy git
5153
--------

0 commit comments

Comments
 (0)