[AFS3-std] AFS-3 64-bit time I-D
Jeffrey Altman
jaltman@secure-endpoints.com
Fri, 11 Mar 2011 09:45:03 -0500
This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enig4C1A7C1F4C351CB56F5C36F6
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
On 3/7/2011 4:33 PM, Andrew Deason wrote:
> I've published an I-D defining a couple of types to be used for time in=
> future RPCs ("RPC refresh", ubik, and the like):
>=20
> <http://datatracker.ietf.org/doc/draft-deason-afs3-type-time/>
>=20
> The 100 ns resolution and epoch I think is basically what's been
> discussed before, but the handling of varying time resolution is new.
> From discussions with others, though, I feel some kind of resolution
> representation that is tied to the time variable itself is necessary.
> Comments and such welcomed, of course.
Good work.
The only thing that I would add is some text describing conversion
between AFSAbsTime/AFSRelTime and time_t. In particular, that time_t ->
AFSAbsTime/AFSRelTime is always 1 second resolution and that
AFSAbsTime/AFSRelTime -> time_t must always round down and never up.
Since time resolution information is being included, there should be
discussion that adding AFSAbsTime (100ns) plus AFSRelTime (1s) should
result in AFSAbsTime (1s).
Inclusion of C source code for various operations wouldn't hurt:
* AFSAbsTime -> time_t
* time_t -> AFSAbsTime
* AFSAbsTime + AFSRelTime
* AFSAbsTime + AFSAbsTime
* AFSAbsTime - AFSAbsTime
* AFSAbsTime <=3D> AFSAbsTime
Jeffrey Altman
--------------enig4C1A7C1F4C351CB56F5C36F6
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (MingW32)
iQEcBAEBAgAGBQJNejVxAAoJENxm1CNJffh4EdgIAK82da/4TLYPN8nncuBwoZLP
bPljjT3jYT/4mO+DsH9GL9i7NNL8iChZcowNj9Tr5hVpHV5zH38Sruazr6v55CGk
s4OXZ6oMi8yYnN88lFpZQFpvd+h5dmdGYsXy/oV+CESAs1hCcOmTe8eBej6hXYNC
snJv0bGLK3RunVXWqAIeHXoeXm3XG1a4ACfMzgqg3m13Y7ZtdtOCzxzrYxB7VfOC
q0VCdYLGq206IbcRviAmoVJjRiBFFT90gycU/ZzfI2bKY6x/OfYMwlY4QVpP25af
+oAb+LDBLZZvllGcpLSehpGutMcI4RrWQGQ6BRyEGowaZqySorWmH+21aw2/RGM=
=KMo0
-----END PGP SIGNATURE-----
--------------enig4C1A7C1F4C351CB56F5C36F6--