Re: Proposal: Use hi-res clock for file timestamps

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: john stultz
Date: Wednesday, August 18, 2010 - 8:17 pm

On Wed, 2010-08-18 at 22:31 -0400, J. Bruce Fields wrote:

I think this is what Andi meant that you'll always race with time and
that version counters are the only real solution here.


You should not. However, there have been bugs in the past, and there
will probably be a few more in the future.

There are also theoretical issues with SMP systems where the TSCs are
not perfectly synced, but the window for those races should be small
(ie: smaller then can be detected - otherwise we'll throw out the TSC).


thanks
-john


--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Proposal: Use hi-res clock for file timestamps, Patrick J. LoPresti, (Fri Aug 13, 11:25 am)
Re: Proposal: Use hi-res clock for file timestamps, john stultz, (Fri Aug 13, 11:45 am)
Re: Proposal: Use hi-res clock for file timestamps, Patrick J. LoPresti, (Fri Aug 13, 11:57 am)
Re: Proposal: Use hi-res clock for file timestamps, john stultz, (Fri Aug 13, 12:09 pm)
Re: Proposal: Use hi-res clock for file timestamps, Patrick J. LoPresti, (Fri Aug 13, 1:53 pm)
Re: Proposal: Use hi-res clock for file timestamps, Bret Towe, (Sat Aug 14, 6:50 pm)
Re: Proposal: Use hi-res clock for file timestamps, Andi Kleen, (Tue Aug 17, 7:54 am)
Re: Proposal: Use hi-res clock for file timestamps, J. Bruce Fields, (Tue Aug 17, 10:41 am)
Re: Proposal: Use hi-res clock for file timestamps, Andi Kleen, (Tue Aug 17, 11:29 am)
Re: Proposal: Use hi-res clock for file timestamps, Patrick J. LoPresti, (Tue Aug 17, 11:50 am)
Re: Proposal: Use hi-res clock for file timestamps, J. Bruce Fields, (Tue Aug 17, 12:04 pm)
Re: Proposal: Use hi-res clock for file timestamps, Patrick J. LoPresti, (Tue Aug 17, 12:18 pm)
Re: Proposal: Use hi-res clock for file timestamps, J. Bruce Fields, (Tue Aug 17, 12:29 pm)
Re: Proposal: Use hi-res clock for file timestamps, Patrick J. LoPresti, (Tue Aug 17, 12:34 pm)
Re: Proposal: Use hi-res clock for file timestamps, Alan Cox, (Tue Aug 17, 12:39 pm)
Re: Proposal: Use hi-res clock for file timestamps, Patrick J. LoPresti, (Tue Aug 17, 12:43 pm)
Re: Proposal: Use hi-res clock for file timestamps, J. Bruce Fields, (Tue Aug 17, 12:45 pm)
Re: Proposal: Use hi-res clock for file timestamps, Alan Cox, (Tue Aug 17, 12:52 pm)
Re: Proposal: Use hi-res clock for file timestamps, Alan Cox, (Tue Aug 17, 12:54 pm)
Re: Proposal: Use hi-res clock for file timestamps, Neil Brown, (Tue Aug 17, 10:53 pm)
Re: Proposal: Use hi-res clock for file timestamps, Patrick J. LoPresti, (Wed Aug 18, 7:46 am)
Re: Proposal: Use hi-res clock for file timestamps, J. Bruce Fields, (Wed Aug 18, 10:32 am)
Re: Proposal: Use hi-res clock for file timestamps, Chuck Lever, (Wed Aug 18, 11:15 am)
Re: Proposal: Use hi-res clock for file timestamps, David Woodhouse, (Wed Aug 18, 11:20 am)
Re: Proposal: Use hi-res clock for file timestamps, Patrick J. LoPresti, (Wed Aug 18, 11:32 am)
Re: Proposal: Use hi-res clock for file timestamps, Andi Kleen, (Wed Aug 18, 11:53 am)
Re: Proposal: Use hi-res clock for file timestamps, J. Bruce Fields, (Wed Aug 18, 11:54 am)
Re: Proposal: Use hi-res clock for file timestamps, Andi Kleen, (Wed Aug 18, 12:25 pm)
Re: Proposal: Use hi-res clock for file timestamps, J. Bruce Fields, (Wed Aug 18, 12:30 pm)
Re: Proposal: Use hi-res clock for file timestamps, Neil Brown, (Wed Aug 18, 4:41 pm)
Re: Proposal: Use hi-res clock for file timestamps, Neil Brown, (Wed Aug 18, 4:47 pm)
Re: Proposal: Use hi-res clock for file timestamps, Neil Brown, (Wed Aug 18, 5:52 pm)
Re: Proposal: Use hi-res clock for file timestamps, john stultz, (Wed Aug 18, 6:41 pm)
Re: Proposal: Use hi-res clock for file timestamps, J. Bruce Fields, (Wed Aug 18, 7:08 pm)
Re: Proposal: Use hi-res clock for file timestamps, J. Bruce Fields, (Wed Aug 18, 7:31 pm)
Re: Proposal: Use hi-res clock for file timestamps, Neil Brown, (Wed Aug 18, 7:44 pm)
Re: Proposal: Use hi-res clock for file timestamps, john stultz, (Wed Aug 18, 8:17 pm)
Re: Proposal: Use hi-res clock for file timestamps, J. Bruce Fields, (Thu Aug 19, 3:46 pm)