cvs commit: src/sys/nfs4client nfs4_socket.c nfs4_vfsops.c src/sys/nfsclient nfs_socket.c nfs_vfsops.c src/sys/rpc rpcclnt.c

Ed Schouten ed at FreeBSD.org
Tue Jul 22 21:28:47 UTC 2008


ed          2008-07-22 21:27:22 UTC

  FreeBSD src repository

  Modified files:
    sys/nfs4client       nfs4_socket.c nfs4_vfsops.c 
    sys/nfsclient        nfs_socket.c nfs_vfsops.c 
    sys/rpc              rpcclnt.c 
  Log:
  SVN rev 180724 on 2008-07-22 21:27:22Z by ed
  
  Move the NFS/RPC code away from lbolt.
  
  The kernel has a special wchan called `lbolt', which is triggered each
  second. It doesn't seem to be used a lot and it seems pretty redundant,
  because we can specify a timeout value to the *sleep() routines. In an
  attempt to eventually remove lbolt, make the NFS/RPC code use a timeout
  of `hz' when trying to reconnect.
  
  Only the TTY code (not MPSAFE TTY) and the VFS syncer seem to use lbolt
  now.
  
  Reviewed by:    attilio, jhb
  Approved by:    philip (mentor), alfred, dfr
  
  Revision  Changes    Path
  1.5       +1 -1      src/sys/nfs4client/nfs4_socket.c
  1.35      +3 -1      src/sys/nfs4client/nfs4_vfsops.c
  1.160     +6 -5      src/sys/nfsclient/nfs_socket.c
  1.208     +3 -1      src/sys/nfsclient/nfs_vfsops.c
  1.22      +3 -2      src/sys/rpc/rpcclnt.c


More information about the cvs-src mailing list