vnode lock below vfs

rick at rick at
Thu Aug 10 09:01:19 PDT 2006

btw, in case you haven't looked at it, what Apple seems to have done for
Darwin8 is put a mutex lock right in the vnode. The vnode operation stub
grabs this mutex lock, if the flag in the vfs switch says the file system
isn't smp safe. (This is true for all file systems, as of 10.4.6.)

The effect is similar to a vnode lock grabbed right at the vnode op call.

I don't know if this would be of any use for what you are trying to do, rick

More information about the Kernel mailing list