lkml.org 
[lkml]   [1999]   [Jan]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Open by inode? (was Re: knfsd)


On 12 Jan 1999, Magnus Ahltorp wrote:
>
> 1) Really early versions of AFS/Vice used "open by path". This was
> thrown out. Things screwed up when doing rename on a directory.

Sure. If somebody moves the directory without telling you, you're in
trouble.

But that's exactly the same issue as caching data on the client - you'd
agree that it's a requirement for any sane network filesystem, no? What's
so different about meta-data? The same way you have "this file has
changed" messages, you could have "this file has moved". Makes sense..

Using file handles makes the screwage much less obvious - you end up with
"stale filehandle" errors and other nice issues. At least using a name
makes the problem understandable.

> 2) Why should open_by_handle work for smbfs?

If it doesn't work for some filesystems, that makes me suspect that the
whole idea is bogus. Sure, we can have special case interfaces, but if you
want those, you should already love WNT, right?

Basically "open_by_handle()" is not a generic solution, and _that_ is my
gripe.

Linus


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:49    [W:0.059 / U:0.164 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site