All of lore.kernel.org
 help / color / mirror / Atom feed
* Lookup intents
@ 2003-07-11  0:50 Steve French
  2003-07-10 23:15 ` Trond Myklebust
  0 siblings, 1 reply; 5+ messages in thread
From: Steve French @ 2003-07-11  0:50 UTC (permalink / raw)
  To: linux-fsdevel

Any ideas on the best way with the new lookup/create intents that Trond
added to 2.5 recently to save away a network file handle?   There is no
file struct to put them in at the time of create, so they could either
be stored in a linked list off the inode or a new field could be added
to the intent to store fs specific info for the operation (in this case
the 32 bit network file handle).  I noticed that the older intents patch
had a much bigger intents structure in the nameidata struct.

I also will test an alternate approach, which might not work - when 
cifs_create is called indirectly from sys_create (or equivalent) return
success immediately on the create (without doing anything) and do the
actual create on open (saving an opencreate since for cifs the create
call opens the file might as well send one operation instead of four).
For the case of cifs_create called from sys_mknod actually do a create &
close (since sys_mknod does not return an open file).


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2003-07-11  0:06 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-07-11  0:50 Lookup intents Steve French
2003-07-10 23:15 ` Trond Myklebust
2003-07-10 23:45   ` Steve French (IBM LTC)
2003-07-11  0:06   ` Andreas Dilger
2003-07-11  0:20     ` Trond Myklebust

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.