Re: [RFC] atomic create+open

From: Jamie Lokier
Date: Thu Oct 06 2005 - 13:00:15 EST


Trond Myklebust wrote:
> > Earlier you said, that intents are meant to be optional, so this
> > atomicity requirement is getting further from the "intent" concept.
>
> No it is not. It is bang right in the middle of the intent concept.
>
> Intents are there in order to allow the filesystem to determine which
> operation is calling lookup so that it can optimise for that particular
> operation.

I think Miklos' point is that it's not an "optimisation" because it's
not optional. Optimisations are things where if you don't do them,
the behaviour is still correct but slower.

As far as I can tell from this discussion, the atomic lookup+create is
a non-optional requirement.

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