Re: puzzled
Posted Sep 2, 2004 17:23 UTC (Thu) by
larryr (guest, #4030)
In reply to:
puzzled by fergal
Parent article:
More notes on reiser4
I think maybe the problem is that unix style filesystem semantics
assume a tree structure, meaning one parent edge/entry for
each vertex/node, but having a hard link to a directory
violates that assumption. I think if it was considered typical for
a directory to have multiple parent pointers, and there were
consistent conventions
for performing atomic locking on all the parents of a directory
at once, there might be no problem. But if "the parent"
of a node is assumed by the implementation to be "the node corresponding to the path component to the left of
the path component referencing this node", locking "the parent" of "/x/a/dir1" could be different from locking "the parent" of "/x/b/dir1".
Larry
(
Log in to post comments)