lkml.org 
[lkml]   [2010]   [Jul]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    SubjectRe: [PATCH -V14 0/11] Generic name to handle and open by handle syscalls
    From
    Date
    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.



    \
     
     \ /
      Last update: 2010-07-08 06:33    [W:2.488 / U:0.024 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site