Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 14 Jul 1996 18:05:15 +1000
From:      Bruce Evans <bde@zeta.org.au>
To:        dfr@nlsys.demon.co.uk, terry@lambert.org
Cc:        current@freebsd.org, dfr@render.com
Subject:   Re: NFSv3 fixes for review
Message-ID:  <199607140805.SAA20603@godzilla.zeta.org.au>

next in thread | raw e-mail | index | archive | help
>This fix seems to work right for me. I'm nervous about the use of the
>timeval, mostly because I'm not sure that it is monotonically
>increasing in the ntpd time synchronization case (and haven't
>looked deep enough to verify that the reported time from the
>microtime is not affected by adjustments.

xntpd only does tiny adjustments which can't possibly make the clock
go backwards.  OTOH, ntpdate or ordinary `date' can set the clock back
by years.

>Is there a seperate monotonically increasing clock, which is not
>modified by time adjust?  I guess this would be a factor only on a

mono_time.

>system with a relatively high drift rate (such that a reboot could
>occur such that the delay did not exceed the drift, causing the XID
>to go backward).

Oops, mono_time isn't monotonic across reboots.  I think it is reset
by reboot so it is very unsuitable.

Bruce



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199607140805.SAA20603>