In my further study (ha!) of the Solaris client driver, I noticed that the vfs unmount call unconditionally says "yo'kay" to umount requests for /afs... which is alright if the /afs mount is quiescent and no vnodes are referenced. But if there are, your machine is in panicville.

So I'm putting some safety in afs_unmount() and trying to figure out how best to determine when returning EBUSY is appropriate.

Would I be correct in thinking that the most straight-forward approach is to take the passed vfs struct that was passed in, get the vnode it references, and see if v_count member is > 0 ?

Then there's the question of supporting forced unmounts... Are there any good interfaces to call to invalidate all vcache/vnodes ?

/dale

--
Dale Ghent
UNIX Systems Specialist
UMBC - Office of Information Technology
ECS 201 - x51705



_______________________________________________
OpenAFS-devel mailing list
[email protected]
https://lists.openafs.org/mailman/listinfo/openafs-devel

Reply via email to