diff options
author | mohans <mohans@FreeBSD.org> | 2006-09-13 18:39:09 +0000 |
---|---|---|
committer | mohans <mohans@FreeBSD.org> | 2006-09-13 18:39:09 +0000 |
commit | 21daa650a97ea27eb3fdf3915832cb2c1e49aa4f (patch) | |
tree | ecb7983045b3f7e892ee6bce4b4f36f4080332f4 /sys/pci/intpm.c | |
parent | e751eb98323de041fcb2da0c3b6973368e75da67 (diff) | |
download | FreeBSD-src-21daa650a97ea27eb3fdf3915832cb2c1e49aa4f.zip FreeBSD-src-21daa650a97ea27eb3fdf3915832cb2c1e49aa4f.tar.gz |
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@
Diffstat (limited to 'sys/pci/intpm.c')
0 files changed, 0 insertions, 0 deletions