From: Sun Chao <16657101987@163.com> Date: Tue, 20 Jul 2021 15:07:09 GMT Subject: Re: [PATCH v3] packfile: freshen the mtime of packfile by configuration Message-ID: <60EFBDBF-8A9F-4004-82C1-C7C1E9D1778E@163.com> In-Reply-To: > 2021年7月20日 08:07,Junio C Hamano 写道: > > Taylor Blau writes: > >> Hmm. I'm still quite unconvinced that we should be taking this direction >> without better motivation. We talked about your assumption that NFS >> seems to be invalidating the block cache when updating the inodes that >> point at those blocks, but I don't recall seeing further evidence. > > Me neither. Not touching the pack and not updating the "most > recently used" time of individual objects smells like a recipe > for repository corruption. > >> My opinion is that it is not, and that the bizarre caching behavior you >> are seeing is out of Git's control. > Thanks Junio, I will try to get a more detial reports of the NFS caches and share it if it is valuable. Not touching the mtime of packfiles really has potencial problems just as Taylor said.