monotonic time for mount.cifs timeouts

2010-08-24 Thread Björn JACKE
+0200 Subject: [PATCH 2/2] mount.cifs: use monotonic time for timeouts this is especially important during the boot process, where the clock is often being set initially and clock jumps are more common. --- mtab.c | 23 --- 1 files changed, 20 insertions(+), 3 deletions

Re: monotonic time for mount.cifs timeouts

2010-08-24 Thread Jeff Layton
On Tue, 24 Aug 2010 13:07:55 -0500 Steve French smfre...@gmail.com wrote: Any pointers to background on gettimeofday vs clock_gettime(CLOCK_MONOTONIC) and why the latter is better? IIUC, the reason for this is that gettimeofday is affected by wallclock changes (think NTP):

Re: monotonic time for mount.cifs timeouts

2010-08-24 Thread Jeff Layton
On Tue, 24 Aug 2010 14:22:48 -0400 Jeff Layton jlay...@samba.org wrote: On Tue, 24 Aug 2010 13:07:55 -0500 Steve French smfre...@gmail.com wrote: Any pointers to background on gettimeofday vs clock_gettime(CLOCK_MONOTONIC) and why the latter is better? IIUC, the reason for this is that

Re: monotonic time for mount.cifs timeouts

2010-08-24 Thread Jeff Layton
On Tue, 24 Aug 2010 22:08:09 +0200 Björn JACKE b...@sernet.de wrote: On 2010-08-24 at 14:34 -0400 Jeff Layton sent off: Any pointers to background on gettimeofday vs clock_gettime(CLOCK_MONOTONIC) and why the latter is better? IIUC, the reason for this is that gettimeofday is

Re: monotonic time for mount.cifs timeouts

2010-08-24 Thread Steve French
On Tue, Aug 24, 2010 at 6:30 PM, Jeff Layton jlay...@samba.org wrote: On Tue, 24 Aug 2010 22:08:09 +0200 Björn JACKE b...@sernet.de wrote: Ok, thanks for the clarification. Committed... This should make the 4.7 release. Thanks! Yes - makes sense - thanks -- Thanks, Steve -- To