jhb         2008-09-24 18:51:33 UTC

  FreeBSD src repository

  Modified files:
    sys/kern             vfs_cache.c 
    sys/nfsclient        nfs_vnops.c 
  Log:
  SVN rev 183330 on 2008-09-24 18:51:33Z by jhb
  
  Part 1 of making shared lookups more resilient with respect to forced
  unmounts.  When we upgrade a vnode lock from shared to exclusive during
  a name cache lookup, fail the lookup with EBADF if the vnode is invalidated
  while we are waiting for the exclusive lock.
  
  Also, for correctness (though I'm not sure it can occur in practice),
  downgrade an exclusively locked vnode if it should be share locked.
  
  Tested by:      pho
  
  Revision  Changes    Path
  1.126     +18 -8     src/sys/kern/vfs_cache.c
  1.290     +4 -1      src/sys/nfsclient/nfs_vnops.c
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to