Re: [PATCH -V14 0/11] Generic name to handle and open by handle syscalls

From: Andreas Dilger
Date: Thu Jul 08 2010 - 00:31:19 EST


On 2010-07-07, at 14:39, Alan Cox wrote:
>> I think you are assuming too much about the use of the file handle. What I'm interested in is not a userspace file server, but rather a more efficient way to have 10000's to millions of clients to be able to open the same regular file, without having to do full path traversal for each one.
>
> The unix security model requires the traversal. In that respect it
> differs significantly from some other OS's that did have handle based
> direct opens and treat directories as a lookup and translation index only.

There IS full path traversal at the time the file handle is generated, so it meets these requirements. This isn't really conceptually any different than fd passing over a unix socket on a local system, but passing the fd between user processes (via an out-of-band communication method, likely an MPI broadcast message) that are running on different nodes all accessing the same distributed filesystem.

Cheers, Andreas
--
Andreas Dilger
Lustre Technical Lead
Oracle Corporation Canada Inc.

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