OpenAFS CVS Commit: openafs/src/afs/VNOPS by shadow

cvs@penn.central.org cvs@penn.central.org
Fri, 19 Jan 2001 04:46:09 EST


Update of /usr1/cvs/openafs/src/afs/VNOPS
In directory penn.central.org:/usr0/build/openafs/openafs-stable/src/afs/VNOPS

Modified Files:
      Tag: openafs-stable-1_0_x
	afs_vnop_attrs.c 
Log Message:
DELTA honor-solaris-attr-hint-20010112
AUTHOR kolya@mit.edu
"The problem that it fixes is as follows: suppose user A's process maps
something into its address space out of AFS. Now if user B runs "ps",
or otherwise reads /proc/NNN/status, the kernel code will lock the
associated entry in /proc and then proceed to find the size of the
address space for that process; in doing so, it calls getattr(). If B
does not have tokens to access the file, the fileserver will eventually
start delaying responses to FetchStatus requests, and the kernel will
block with /proc locked.

The user-visible effect is that "ps", "w" and so on start blocking
uninterruptibly for long periods of time."


--- DELTA config for openafs-stable-1_0_x follows ---
honor-solaris-attr-hint-20010112 openafs/src/afs/VNOPS/afs_vnop_attrs.c 1.2 1.2.2.1