Re: [PATCH/RFC 0/3] using stat() to avoid re-scanning pack dir

2015-05-24 Thread Jeff King
On Sat, May 23, 2015 at 08:19:03AM +0700, Duy Nguyen wrote: > On Sat, May 23, 2015 at 6:51 AM, Jeff King wrote: > > The other problem is that I'm not sure stat data is enough to notice > > when a directory changes. Certainly the mtime should change, but if you > > have only one-second resolution

Re: [PATCH/RFC 0/3] using stat() to avoid re-scanning pack dir

2015-05-22 Thread Duy Nguyen
On Sat, May 23, 2015 at 8:19 AM, Duy Nguyen wrote: > But people often just do open operation of a time and this racy is not an > issue. Very bad proof reading. This should read "But people often do one operation at a time.." -- Duy -- To unsubscribe from this list: send the line "unsubscribe gi

Re: [PATCH/RFC 0/3] using stat() to avoid re-scanning pack dir

2015-05-22 Thread Duy Nguyen
On Sat, May 23, 2015 at 6:51 AM, Jeff King wrote: > The other problem is that I'm not sure stat data is enough to notice > when a directory changes. Certainly the mtime should change, but if you > have only one-second resolution on your mtimes, we can be fooled. mtime may or may not change. I bas

[PATCH/RFC 0/3] using stat() to avoid re-scanning pack dir

2015-05-22 Thread Jeff King
On Fri, May 22, 2015 at 03:02:45PM +, steve.nor...@thomsonreuters.com wrote: > On Friday, May 22, 2015 @ 11:06 AM Duy Nguyen did write: > > > Strange. Maybe there is something else... Anyway some numbers from me. > > This is nfs3 hosted by Raspberry Pi, accessed over wireless. I just > > run