[lkml]   [2005]   [Oct]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [RFC] atomic create+open
to den 06.10.2005 Klokka 19:23 (+0200) skreiv Miklos Szeredi:
> > No, but what value does an extra function call add then when you already
> > have lookup intents?
> Just to provide a proper interface, and not have to extend open
> intents further.

Why do you consider an extra function call to be a more "proper

Does it fix more races? Does it allow you to do new things more
elegantly? Does it offer a better abstraction?

Just trying to understand why you are trying to dump an interface that
has been agreed upon for several years and replace it with one that was

> 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
If your filesystem is able to do lookup+create+open more efficiently
than the VFS can, then that is what it is designed to allow you to do.


To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-10-06 19:39    [W:0.125 / U:6.224 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site