freebsd-dev/sys/nfs4client
Mohan Srinivasan 7d7d9e2242 Fixes up the handling of shared vnode lock lookups in the NFS client,
adds a FS type specific flag indicating that the FS supports shared
vnode lock lookups, adds some logic in vfs_lookup.c to test this flag
and set lock flags appropriately.

- amd on 6.x is a non-starter (without this change). Using amd under
  heavy load results in a deadlock (with cascading vnode locks all the
  way to the root) very quickly.
- This change should also fix the more general problem of cascading
  vnode deadlocks when an NFS server goes down.

Ideally, we wouldn't need these changes, as enabling shared vnode lock
lookups globally would work. Unfortunately, UFS, for example isn't
ready for shared vnode lock lookups, crashing pretty quickly.

This change is the result of discussions with Stephan Uphoff (ups@).

Reviewed by:	ups@
2006-09-13 18:39:09 +00:00
..
nfs4_dev.c Add better sanity checking to the logic that handles ioctl processing 2006-05-13 00:16:35 +00:00
nfs4_dev.h
nfs4_idmap.c
nfs4_idmap.h
nfs4_socket.c
nfs4_subs.c
nfs4_vfs_subs.c
nfs4_vfs.h
nfs4_vfsops.c Fixes up the handling of shared vnode lock lookups in the NFS client, 2006-09-13 18:39:09 +00:00
nfs4_vn_subs.c
nfs4_vn.h
nfs4_vnops.c Fixes up the handling of shared vnode lock lookups in the NFS client, 2006-09-13 18:39:09 +00:00
nfs4.h
nfs4m_subs.h