--On Wednesday, April 18, 2007 02:45:36 PM -0400 Christopher Allen Wing <[EMAIL PROTECTED]> wrote:

I don't understand the usage of AFS_GLOCK(); why is it safe to drop and
re-acquire it in cases like this?  Is AFS_GLOCK intended to serialize all
AFS calls coming from vnode methods in the kernel?

AFS_GLOCK is intended to prevent smp concurrency (and preemption). It also provides mutual exclusion for ObtainXXXLock. AFS_GLOCK is dropped almost any time the cache manager is going to sleep.
_______________________________________________
OpenAFS-devel mailing list
[email protected]
https://lists.openafs.org/mailman/listinfo/openafs-devel

Reply via email to