21daa650a9
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@ |
||
---|---|---|
.. | ||
nfs4_dev.c | ||
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 | ||
nfs4_vn_subs.c | ||
nfs4_vn.h | ||
nfs4_vnops.c | ||
nfs4.h | ||
nfs4m_subs.h |