Re: [PATCH] VFS: new fgetattr() file operation

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Miklos Szeredi <miklos@...>
Cc: <akpm@...>, <hch@...>, <linux-kernel@...>, <linux-fsdevel@...>
Date: Wednesday, October 24, 2007 - 9:02 am

Miklos Szeredi wrote:

This true iff the protocol that this mythical network file
system uses the name of the file on the server to actually
identify the file on the server.

Clearly, this is broken on many levels.  It can't handle
situations as described nor can it handle different instances
of the same filename being used.

This is why NFS, a network file system, does not use the filename
as part of the file handle.

Wouldn't you be better off by attempting to implement an "open
by ino" operation and an operation to get the generation count
for the file and then modifying the network protocol of interest
to use these as identifiers for the file to be manipulated?

I agree with Christoph on this one.  It is the wrong path.

       ps



-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH] VFS: new fgetattr() file operation, Miklos Szeredi, (Wed Oct 24, 7:59 am)
Re: [PATCH] VFS: new fgetattr() file operation, Peter Staubach, (Wed Oct 24, 9:02 am)
Re: [PATCH] VFS: new fgetattr() file operation, Miklos Szeredi, (Wed Oct 24, 9:43 am)
Re: [PATCH] VFS: new fgetattr() file operation, Peter Staubach, (Wed Oct 24, 11:02 am)
Re: [PATCH] VFS: new fgetattr() file operation, Miklos Szeredi, (Wed Oct 24, 11:27 am)
Re: [PATCH] VFS: new fgetattr() file operation, David Chinner, (Thu Oct 25, 6:42 pm)
Re: [PATCH] VFS: new fgetattr() file operation, Miklos Szeredi, (Thu Oct 25, 7:10 pm)
Re: [PATCH] VFS: new fgetattr() file operation, David Chinner, (Thu Oct 25, 7:52 pm)
Re: [PATCH] VFS: new fgetattr() file operation, Miklos Szeredi, (Fri Oct 26, 5:33 am)