Re: [PATCH] A generic_file_sendpage()

Jörn Engel
2004-06-28T11:41:36Z

On Fri, 25 June 2004 20:53:34 -0400, Trond Myklebust wrote:
> På fr , 25/06/2004 klokka 16:03, skreiv Jörn Engel:
> > Not sure. NFSv3 appears to be fixable, the only context is the UID,
>
> Huh???? WTF happened to the actual credential?

No idea, I couldn't find it in the source.

> > which happens to be stored in the inode as well. NFSv4 and cifs could
> > be worse, I didn't look closely yet. smbfs accesses the dentry, which
> > has similar effects, but should be fixable as well.
> >
> > Do you know of any impossible cases?
>
> NFS, CIFS, all other networked filesystems that need private context
> information beyond what is contained in the struct file. Why?

Darn! I need to copy an inode. Currently, I'm opening a two files,
copy between them and close them again. Open and close are completely
pointless and only complicate things.

The fun part is that cifs would actually benifit from the same things
it complicates. Oh well.

Jörn

--
Geld macht nicht glücklich.
Glück macht nicht satt.