DragonFly BSD
DragonFly commits List (threaded) for 2004-04
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

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


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Tue, 6 Apr 2004 22:15:48 -0700 (PDT)

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



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]