Andrew Kelley
e2c741f1e7
std.cache_hash: additionally use file size to detect modifications
...
I have observed on Linux writing and reading the same file many times
without the mtime changing, despite the file system having nanosecond
granularity (and about 1 millisecond worth of nanoseconds passing between
modifications). I am calling this a Linux Kernel Bug and adding file
size to the cache hash manifest as a mitigation. As evidence, macOS does
not exhibit this behavior.
This means it is possible, on Linux, for a file to be added to the cache
hash, and, if it is updated with the same file size, same inode, within
about 1 millisecond, the cache system will give us a false positive,
saying it is unmodified. I don't see any way to improve this situation
without fixing the bug in the Linux kernel.
closes #6082
2020-08-18 12:44:00 -07:00
..
2020-08-07 23:26:58 -07:00
2020-08-01 16:01:48 +00:00
2020-08-17 16:19:57 -07:00
2020-08-18 00:31:02 -04:00
2020-08-02 11:09:35 -07:00
2020-07-11 20:41:19 +03:00
2020-04-28 19:11:31 -06:00
2020-08-13 07:08:39 +02:00
2020-08-13 18:40:14 +03:00
2020-08-13 17:14:15 +02:00
2020-07-13 00:38:59 +10:00
2020-07-12 00:54:07 +03:00
2020-07-11 20:41:19 +03:00
2020-07-27 07:16:44 +00:00
2020-08-11 14:04:08 -07:00
2020-08-14 01:14:32 +03:00
2020-06-07 22:39:35 +10:00
2020-08-17 22:17:04 -04:00
2020-04-18 14:41:33 -04:00
2020-08-13 01:13:17 +03:00
2020-08-13 14:30:38 +03:00
2020-08-08 00:34:13 -07:00
2020-05-24 21:40:08 -04:00
2020-04-03 12:12:23 -04:00
2019-11-21 20:43:41 -05:00
2020-08-14 22:50:00 -04:00
2020-07-11 20:41:19 +03:00
2020-08-07 22:45:45 -07:00
2020-05-16 12:46:44 -04:00
2020-04-24 15:28:55 -04:00
2020-07-05 21:12:20 +00:00
2020-07-05 21:11:42 +00:00
2020-08-04 22:55:45 -07:00
2020-08-11 15:49:43 -04:00
2020-07-27 15:38:56 +03:00
2020-08-18 12:44:00 -07:00
2020-07-31 19:16:04 +02:00
2020-04-02 16:12:08 +02:00
2020-07-11 20:41:19 +03:00
2020-08-17 13:55:40 -07:00
2020-03-01 13:21:39 -05:00
2020-08-07 23:26:58 -07:00
2020-08-10 17:05:39 -07:00
2020-08-13 01:13:17 +03:00
2020-05-08 14:26:28 +03:00
2020-08-01 16:01:48 +00:00
2020-02-16 13:25:30 -05:00
2020-07-27 17:05:39 +03:00
2020-08-09 17:40:58 +02:00
2020-08-13 07:08:39 +02:00
2020-08-02 19:25:26 -07:00
2019-10-11 18:13:24 -04:00
2020-08-08 13:04:30 -07:00
2020-06-09 13:36:17 -04:00
2020-08-04 23:04:20 -07:00
2020-05-24 10:04:09 -04:00
2020-08-13 17:12:16 +02:00
2020-02-22 12:44:21 +01:00
2020-08-13 20:32:32 -07:00
2020-08-16 22:35:27 -07:00
2020-07-14 17:19:17 -07:00
2020-08-07 23:26:58 -07:00
2020-08-04 23:04:20 -07:00
2020-08-07 23:26:58 -07:00
2020-08-17 16:19:57 -07:00
2020-05-30 23:17:55 +02:00
2020-06-24 22:27:30 -04:00
2020-07-04 21:40:06 +03:00
2020-07-04 21:40:06 +03:00
2020-07-11 20:41:19 +03:00
2020-05-20 21:27:08 -04:00
2020-01-30 12:05:57 -05:00
2020-05-24 21:40:08 -04:00
2020-07-11 20:41:19 +03:00
2020-07-11 20:41:19 +03:00
2020-02-28 14:51:53 -05:00
2019-12-12 18:33:44 -05:00
2020-06-24 14:07:39 +03:00
2020-08-07 23:26:58 -07:00
2020-08-11 15:49:43 -04:00
2020-08-08 01:21:08 -07:00
2020-07-11 20:41:19 +03:00
2020-06-01 14:43:13 -04:00
2020-06-18 20:35:03 -04:00
2020-03-01 13:57:41 -05:00
2020-08-03 21:01:06 -07:00