Messages in this thread | | | Date | Mon, 11 Jan 1999 17:12:09 -0800 (PST) | From | Linus Torvalds <> | Subject | Re: 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/
| |