Re: intermediate summary of ext3-2.4-0.9.4 thread

Daniel Phillips (phillips@bonn-fries.net)
Fri, 3 Aug 2001 15:09:06 +0200


On Friday 03 August 2001 05:13, Alexander Viro wrote:
> On Fri, 3 Aug 2001, Daniel Phillips wrote:
> > There is only one chain of directories from the fd's dentry up to
> > the root, that's the one to sync.
>
> You forgot ".. at any given moment". IOW, operation you propose is
> inherently racy. You want to do that - you do that in userland.

Are you saying that there may not be a ".." some of the time? Or just
that it may spontaneously be relinked? If it does spontaneously change
it doesn't matter, you have still made sure there is access by at least
one path.

The trouble with doing this in userland is, the locked chain of dcache
entries isn't there.

--
Daniel
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/