On Thu, Aug 27, 2009 at 05:14:17PM -0700, Roger A. Faulkner wrote:
> > Actually, NFSv3 and NFSv4 already have this.  I think our server just
> > sets this to a constant, and our client doesn't use it.
> 
> I know that NFSv3 and NFSv4 send nanosecond-resolution
> timestamps over the wire.  That's not the problemm.

They actually have a time_delta per-filesystem attribute.  From RFC3530:

   time_delta          51   nfstime4       READ     Smallest useful
                                                    server time
                                                    granularity.

I only took a brief look, but it seems that our client doesn't use this
(since there was no _PC_TIMESTAMP_RESOLUTION pathconf...).  And our
server, IIUC, has a hard-coded constant for this (since there was no
_PC_TIMESTAMP_RESOLUTION VOP_PATHCONF...).

> What is needed is a VOP_PATHCONF(_PC_TIMESTAMP_RESOLUTION)
> operation for NFS that returns the actual timestamp resolution
> for the underlying file system.

Yes; the protocol has it already.  Sorry I wasn't clear earlier.

I did a quick search for solaris/kernel/nfs CRs that mention time_delta,
and found none.

Nico
-- 

Reply via email to