aboutsummaryrefslogtreecommitdiff
path: root/Documentation/technical
diff options
context:
space:
mode:
authorJonathan Nieder <jrnieder@gmail.com>2009-10-09 05:25:54 -0500
committerJunio C Hamano <gitster@pobox.com>2009-10-09 14:56:32 -0700
commit989c530e7f7f85db7fb5a340319cca88ca702b2a (patch)
tree08dfc4273db6e7e34331c2a980ecb039f50039e5 /Documentation/technical
parent580cbb58a29ee3ebc3714f4792d34f958fd86165 (diff)
downloadgit-989c530e7f7f85db7fb5a340319cca88ca702b2a.tar.gz
git-989c530e7f7f85db7fb5a340319cca88ca702b2a.tar.xz
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 <jrnieder@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/technical')
-rw-r--r--Documentation/technical/racy-git.txt10
1 files changed, 6 insertions, 4 deletions
diff --git a/Documentation/technical/racy-git.txt b/Documentation/technical/racy-git.txt
index 48bb97f0b..53aa0c82c 100644
--- a/Documentation/technical/racy-git.txt
+++ b/Documentation/technical/racy-git.txt
@@ -42,10 +42,12 @@ compared, but this is not enabled by default because this member
is not stable on network filesystems. With `USE_NSEC`
compile-time option, `st_mtim.tv_nsec` and `st_ctim.tv_nsec`
members are also compared, but this is not enabled by default
-because the value of this member becomes meaningless once the
-inode is evicted from the inode cache on filesystems that do not
-store it on disk.
-
+because in-core timestamps can have finer granularity than
+on-disk timestamps, resulting in meaningless changes when an
+inode is evicted from the inode cache. See commit 8ce13b0
+of git://git.kernel.org/pub/scm/linux/kernel/git/tglx/history.git
+([PATCH] Sync in core time granuality with filesystems,
+2005-01-04).
Racy git
--------