On Fri, Sep 11, 2009 at 03:14:09PM -0700, Jason Thorpe wrote:
Such as? Please give clear examples. Moving the locks to below the
VFS
layer does not change any of the ordering constraints or any of the
hard problems (vnode recycle, rename, etc.) but only forces cutting
and pasting 30 copies of what was previously FS-independent code
into
every FS.
Not true at all. In Mac OS X, there is no exposed vnode-level
locking
at the VFS layer or in the VFS<->file system interface. Everything
is
handled at the lower layers.
How does this simplify the hard problems (vnode recycle, rename,
etc.)?