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

Matthew Dillon dillon at crater.dragonflybsd.org
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 
                         nfsmount.h 
  Log:
  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


http://www.dragonflybsd.org/cvsweb/src/sys/vfs/nfs/nfs_socket.c.diff?r1=1.14&r2=1.15&f=h
http://www.dragonflybsd.org/cvsweb/src/sys/vfs/nfs/nfs_subs.c.diff?r1=1.12&r2=1.13&f=h
http://www.dragonflybsd.org/cvsweb/src/sys/vfs/nfs/nfs_vfsops.c.diff?r1=1.14&r2=1.15&f=h
http://www.dragonflybsd.org/cvsweb/src/sys/vfs/nfs/nfsmount.h.diff?r1=1.4&r2=1.5&f=h





More information about the Commits mailing list