]> CyberLeo.Net >> Repos - FreeBSD/stable/8.git/commit
MFC 245508,245566,245568,245611,245909:
authorjhb <jhb@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Thu, 28 Feb 2013 21:58:07 +0000 (21:58 +0000)
committerjhb <jhb@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Thu, 28 Feb 2013 21:58:07 +0000 (21:58 +0000)
commit0c3412fc07e20e3384b128adffe213919d8a11bf
treeb07435532627300e9ffc4446613c29ae420c05a2
parent216c08dced59178b800b8e82b2ba3643a9cb6558
MFC 245508,245566,245568,245611,245909:
Various fixes to timestamps in NFS:
- Use the VA_UTIMES_NULL flag to detect when NULL was passed to utimes()
  instead of comparing the desired time against the current time as a
  heuristic.
- Remove unused nfs_curusec().
- Use vfs_timestamp() to set file timestamps rather than invoking
  getmicrotime() or getnanotime() directly in NFS.
- Use NFSD_MONOSEC (which maps to time_uptime) instead of the seconds
  portion of wall-time stamps to manage timeouts on events.
- Remove unused nd_starttime from the per-request structure in the new
  NFS server.
- Use nanotime() for the modification time on a delegation to get as
  precise a time as possible.
- Use time_second instead of extracting the second from a call to
  getmicrotime().

git-svn-id: svn://svn.freebsd.org/base/stable/8@247503 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
16 files changed:
sys/fs/nfs/nfs.h
sys/fs/nfs/nfs_commonkrpc.c
sys/fs/nfs/nfs_commonsubs.c
sys/fs/nfs/nfsport.h
sys/fs/nfsclient/nfs_clport.c
sys/fs/nfsclient/nfs_clstate.c
sys/fs/nfsclient/nfs_clvnops.c
sys/fs/nfsserver/nfs_nfsdkrpc.c
sys/fs/nfsserver/nfs_nfsdport.c
sys/fs/nfsserver/nfs_nfsdstate.c
sys/nfs/nfs_common.c
sys/nfs/nfs_common.h
sys/nfsclient/nfs_krpc.c
sys/nfsclient/nfs_subs.c
sys/nfsclient/nfs_vnops.c
sys/nfsserver/nfs_srvsubs.c