cvs commit: src/sys/vfs/nfs nfs_socket.c nfs_subs.c nfs_vfsops.c nfsmount.h

Matthew Dillon dillon at
Tue Apr 6 22:16:40 PDT 2004

dillon      2004/04/06 22:15:48 PDT

DragonFly src repository

  Modified files:
    sys/vfs/nfs          nfs_socket.c nfs_subs.c nfs_vfsops.c 
  Protect nfs socket locks with a critical section.  Recheck rep->r_mrep just
  prior to calling tsleep() in case another thread got in and handled the
  request being waited for.  Rewrite the vnode scanning code in nfs_sync()
  to use vmntvnodescan(), fixing a number of potential races.  Protect the
  commit phase 2 scan in nfs_subs.c with the appropriate token (note: still
  needs some work).
  Revision  Changes    Path
  1.15      +51 -16    src/sys/vfs/nfs/nfs_socket.c
  1.13      +5 -4      src/sys/vfs/nfs/nfs_subs.c
  1.15      +54 -24    src/sys/vfs/nfs/nfs_vfsops.c
  1.5       +1 -0      src/sys/vfs/nfs/nfsmount.h

More information about the Commits mailing list