Re: [RFC] atomic create+open

From: Trond Myklebust
Date: Thu Oct 06 2005 - 13:43:04 EST


to den 06.10.2005 Klokka 18:59 (+0100) skreiv Jamie Lokier:

> > 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.

By that definition, intents have _never_ been optional. NFSv3/v4 O_EXCL
creates have never worked correctly without them.

Cheers,
Trond

-
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/