summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2015-07-13 21:00:26 (GMT)
committerJunio C Hamano <gitster@pobox.com>2015-07-13 21:00:26 (GMT)
commit43f23b09bffed2ab8852725e26f746d1f762cc85 (patch)
tree0de5057d26f8c47b326869f698856a4ac42adeeb /Documentation
parente01787f1a1de589b7adc6f6946b53996a5e74c34 (diff)
parentb1ffafa978b99ed65b3c040ae762bfdec2379cfc (diff)
downloadgit-43f23b09bffed2ab8852725e26f746d1f762cc85.zip
git-43f23b09bffed2ab8852725e26f746d1f762cc85.tar.gz
git-43f23b09bffed2ab8852725e26f746d1f762cc85.tar.bz2
Merge branch 'kb/use-nsec-doc'
Clarify in the Makefile a guideline to decide use of USE_NSEC. * kb/use-nsec-doc: Makefile / racy-git.txt: clarify USE_NSEC prerequisites
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/technical/racy-git.txt8
1 files changed, 6 insertions, 2 deletions
diff --git a/Documentation/technical/racy-git.txt b/Documentation/technical/racy-git.txt
index 242a044..4a8be4d 100644
--- a/Documentation/technical/racy-git.txt
+++ b/Documentation/technical/racy-git.txt
@@ -41,13 +41,17 @@ With a `USE_STDEV` compile-time option, `st_dev` is also
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
+members are also compared. On Linux, this is not enabled by default
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 granularity with filesystems,
-2005-01-04).
+2005-01-04). This patch is included in kernel 2.6.11 and newer, but
+only fixes the issue for file systems with exactly 1 ns or 1 s
+resolution. Other file systems are still broken in current Linux
+kernels (e.g. CEPH, CIFS, NTFS, UDF), see
+https://lkml.org/lkml/2015/6/9/714
Racy Git
--------